summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-03-11 09:26:42 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-03-11 09:26:42 +0200
commit22d2df8c6bd00c5f232b959197da95c9eba3120e (patch)
tree18be5bfcde0f706233e8a1da8226ce5fc54cb8b4 /sql/handler.h
parent77c184df7c056da7364e606ac977cc2d3cd826ad (diff)
parent1766a18e06a056155031dabefb88ce7f201ad921 (diff)
downloadmariadb-git-22d2df8c6bd00c5f232b959197da95c9eba3120e.tar.gz
Merge 10.3 into 10.4
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 71b30abeba1..7534bfd383a 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -4867,6 +4867,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)