summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorHe Zhenxing <hezx@mysql.com>2008-08-26 18:01:49 +0800
committerHe Zhenxing <hezx@mysql.com>2008-08-26 18:01:49 +0800
commit923f61039ef220b59adf39bf8e9696fc7e533ddc (patch)
treec21f8cf81d40952b48da2c6d1d2fa9aec1832387 /sql/sql_class.h
parent099a80d05a03f80a7310769f2b7b13f875ef24f9 (diff)
downloadmariadb-git-923f61039ef220b59adf39bf8e9696fc7e533ddc.tar.gz
Cherry picking patch for BUG#37051
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 9e0272b8891..8ceb93940ab 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -396,7 +396,6 @@ struct system_variables
DATE_TIME_FORMAT *datetime_format;
DATE_TIME_FORMAT *time_format;
my_bool sysdate_is_now;
-
};
@@ -1446,6 +1445,13 @@ public:
Note: in the parser, stmt_arena == thd, even for PS/SP.
*/
Query_arena *stmt_arena;
+
+ /*
+ map for tables that will be updated for a multi-table update query
+ statement, for other query statements, this will be zero.
+ */
+ table_map table_map_for_update;
+
/* Tells if LAST_INSERT_ID(#) was called for the current statement */
bool arg_of_last_insert_id_function;
/*