summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-03-17 16:26:16 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-03-17 16:26:16 +0200
commite9e0cf67c07291a4934ddcf28560cd63ade3d23c (patch)
treeb46e3bc2afeeea735a8ae42ad8ccd0de586bc584 /sql/handler.h
parent605b8fd8462b17a5681e33a3691b8d4c7bf862a7 (diff)
parent6e58d5ab6a42f22f9c705faea83fbc8889d429c3 (diff)
downloadmariadb-git-bb-11.1-mdev-26137-unsquashed.tar.gz
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 0810d1a503a..464c4a32651 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -248,7 +248,7 @@ enum chf_create_flags {
Example:
UPDATE a=1 WHERE pk IN (<keys>)
- mysql_update()
+ Sql_cmd_update::update_single_table()
{
if (<conditions for starting read removal>)
start_read_removal()
@@ -1807,7 +1807,8 @@ struct THD_TRANS
modified non-transactional tables of top-level statements. At
the end of the previous statement and at the beginning of the session,
it is reset to FALSE. If such functions
- as mysql_insert, mysql_update, mysql_delete etc modify a
+ as mysql_insert(), Sql_cmd_update::update_single_table,
+ Sql_cmd_delete::delete_single_table modify a
non-transactional table, they set this flag to TRUE. At the
end of the statement, the value of stmt.modified_non_trans_table
is merged with all.modified_non_trans_table and gets reset.