summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2003-04-30 00:02:28 -0700
committerunknown <venu@myvenu.com>2003-04-30 00:02:28 -0700
commit05af39d59102c5b46f71ca4d3626feba2c3c777a (patch)
treecabb1435029397264db6d20a3a7da3ab9fed3d00 /sql/sql_class.h
parent998dc6468baa7d985072596fa4c4c657e073157e (diff)
downloadmariadb-git-05af39d59102c5b46f71ca4d3626feba2c3c777a.tar.gz
Support of warnings for all DML statements (Insert, Update and Alter)
Fix LOAD DATA INFILE warnings to have a better meanigful messages Fix to make the mysql command line to automatically show the warnings count for all basic commands
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 925afde2202..36427eae43e 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -512,6 +512,7 @@ public:
ulong query_id, warn_id, version, options, thread_id, col_access;
ulong current_stmt_id;
ulong rand_saved_seed1, rand_saved_seed2;
+ ulong row_count; // Row counter, mainly for errors and warnings
long dbug_thread_id;
pthread_t real_id;
uint current_tablenr,tmp_table,cond_count;
@@ -530,6 +531,7 @@ public:
uint8 query_cache_type; // type of query cache processing
bool slave_thread;
bool set_query_id,locked,count_cuted_fields,some_tables_deleted;
+ bool last_cuted_field;
bool no_errors, allow_sum_func, password, is_fatal_error;
bool query_start_used,last_insert_id_used,insert_id_used,rand_used;
bool system_thread,in_lock_tables,global_read_lock;