diff options
author | Igor Babaev <igor@askmonty.org> | 2022-06-13 15:31:53 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2022-06-13 15:31:53 -0700 |
commit | 67585abefca3911dd6ebf36824bf352565b883f5 (patch) | |
tree | c4a683f21c095e1e09c45540b1761c4778509338 /sql/table.h | |
parent | 31c01a5b28fc59479755cab5098b3d13e55f732b (diff) | |
download | mariadb-git-bb-10.7-mdev-27159.tar.gz |
MDEV-27159 Re-design the upper level of handling DML commandsbb-10.7-mdev-27159
This is the second commit for the task. This patch allows to execute only
single-table and multi-table DELETE statements using the method
Sql_cmd_dml::execute(). The code that handles INSERT statements has not
been touched.
This patch still does not have the final changes to handle UPDATE/DELETE
statements.
All tests from the main suite passed. With --ps-protocol one test from
opt_trace_security returns not the same result. This will be fixed soon.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 8d609fbf1bb..358e1a91343 100644 --- a/sql/table.h +++ b/sql/table.h @@ -2321,6 +2321,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() { |