Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
copy_info.h
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
*
4
* Copyright (C) 2011 Brian Aker
5
* Copyright (C) 2008 Sun Microsystems, Inc.
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; version 2 of the License.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#pragma once
22
23
#include <drizzled/base.h>
24
#include <drizzled/sql_list.h>
25
26
namespace
drizzled {
27
40
class
CopyInfo
41
{
42
public
:
43
ha_rows
records
;
44
ha_rows
deleted
;
45
ha_rows
updated
;
46
ha_rows
copied
;
47
ha_rows error_count;
48
ha_rows touched;
/* Number of touched records */
49
enum
enum_duplicates handle_duplicates;
50
int
escape_char, last_errno;
51
bool
ignore;
52
/* for INSERT ... UPDATE */
53
List<Item>
*update_fields;
54
List<Item>
*update_values;
55
/* for VIEW ... WITH CHECK OPTION */
56
57
CopyInfo
() :
58
records
(0),
59
deleted
(0),
60
updated
(0),
61
copied
(0),
62
error_count(0),
63
touched(0),
64
escape_char(0),
65
last_errno(0),
66
ignore(0),
67
update_fields(0),
68
update_values(0)
69
{ }
70
};
71
72
73
}
/* namespace drizzled */
74
drizzled::CopyInfo
Definition:
copy_info.h:40
drizzled::CopyInfo::updated
ha_rows updated
Definition:
copy_info.h:45
drizzled::CopyInfo::copied
ha_rows copied
Definition:
copy_info.h:46
drizzled::CopyInfo::records
ha_rows records
Definition:
copy_info.h:43
drizzled::List
Definition:
sql_list.h:324
drizzled::CopyInfo::deleted
ha_rows deleted
Definition:
copy_info.h:44
drizzled
copy_info.h
Generated on Wed Feb 12 2014 01:07:11 for drizzle by
1.8.6