summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2022-06-16 23:45:38 -0700
committerIgor Babaev <igor@askmonty.org>2022-06-16 23:45:38 -0700
commita2c0e27863e8a875b8fd9f33ca83cc43d24edbf7 (patch)
tree1bc18fa5416bc8f11745b8d2e744f843a8a27cc0 /sql/table.h
parent9fe784ff7e56b7b5c182b29819ccc4da5f7b2af7 (diff)
downloadmariadb-git-bb-10.9-mdev-27159.tar.gz
MDEV-27159 Re-design the upper level of handling DML commandsbb-10.9-mdev-27159
This patch allows to execute only single-table and multi-table UPDATE and DELETE statements using the method Sql_cmd_dml::execute(). The code that handles INSERT statements has not been touched.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index 30517f83056..5f8d299f770 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -2338,6 +2338,7 @@ struct TABLE_LIST
*/
select_unit *derived_result;
/* Stub used for materialized derived tables. */
+ bool delete_while_scanning;
table_map map; /* ID bit of table (1,2,4,8,16...) */
table_map get_map()
{