summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-03-11 10:48:58 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-03-11 10:48:58 +0200
commit79bc654ac34ee24e24afe98215ba7c44edd8e113 (patch)
tree3ffd2eac719c27d0dccf184af6aa4d81663dd2fe /sql/handler.h
parentaf87186c1d3f9eeab73bc38b1faa51ba17fa8017 (diff)
parent9b8d9a1db32e7526e2b290bdb1f232eb444ae259 (diff)
downloadmariadb-git-79bc654ac34ee24e24afe98215ba7c44edd8e113.tar.gz
Merge 10.6 into 10.7
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 8ad521e189a..052554d5747 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -5102,6 +5102,11 @@ public:
const uchar *pack_frm_data,
size_t pack_frm_len)
{ return HA_ERR_WRONG_COMMAND; }
+ /* @return true if it's necessary to switch current statement log format from
+ STATEMENT to ROW if binary log format is MIXED and autoincrement values
+ are changed in the statement */
+ virtual bool autoinc_lock_mode_stmt_unsafe() const
+ { return false; }
virtual int drop_partitions(const char *path)
{ return HA_ERR_WRONG_COMMAND; }
virtual int rename_partitions(const char *path)