summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-11-11 21:18:10 +0200
committerbell@sanja.is.com.ua <>2004-11-11 21:18:10 +0200
commit0ef0b030a54e7e1f233cbd735f18f64af618d819 (patch)
treeb838d2bae358ea54b828bff0e3dfb8a0faf1bc8e /sql/sql_class.h
parentaa6d99dd0a453762e81be251094f7538c974447c (diff)
parentc8d5f8991d15aec8ccd0e5eee12d9b18796d5ad8 (diff)
downloadmariadb-git-0ef0b030a54e7e1f233cbd735f18f64af618d819.tar.gz
merge
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index f820f8b9cb9..8faed4110fc 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1642,7 +1642,9 @@ public:
class multi_update :public select_result_interceptor
{
- TABLE_LIST *all_tables, *update_tables, *table_being_updated;
+ TABLE_LIST *all_tables; /* query/update command tables */
+ TABLE_LIST *leaves; /* list of leves of join table tree */
+ TABLE_LIST *update_tables, *table_being_updated;
THD *thd;
TABLE **tmp_tables, *main_table, *table_to_update;
TMP_TABLE_PARAM *tmp_table_param;
@@ -1655,8 +1657,9 @@ class multi_update :public select_result_interceptor
bool do_update, trans_safe, transactional_tables, log_delayed;
public:
- multi_update(THD *thd_arg, TABLE_LIST *ut, List<Item> *fields,
- List<Item> *values, enum_duplicates handle_duplicates);
+ multi_update(THD *thd_arg, TABLE_LIST *ut, TABLE_LIST *leaves_list,
+ List<Item> *fields, List<Item> *values,
+ enum_duplicates handle_duplicates);
~multi_update();
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
bool send_data(List<Item> &items);