summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-06-08 15:13:04 +0300
committerMonty <monty@mariadb.org>2020-06-14 19:39:43 +0300
commit6a3b581b9051e5832d43e841b73c88df9fe90755 (patch)
tree116fd511a63aea3ba1e6fd0ab65b946bd9d7a256 /include/my_base.h
parent08d475c73b0dab575940162d6181187367368974 (diff)
downloadmariadb-git-6a3b581b9051e5832d43e841b73c88df9fe90755.tar.gz
MDEV-19745 BACKUP STAGE BLOCK_DDL hangs on flush sequence table
Problem was that FLUSH TABLES where trying to read latest sequence state which conflicted with a running ALTER SEQUENCE. Removed the reading of the state, when opening a table for FLUSH, as it's not needed in this case. Other thing: - Fixed a potential issue with concurrently running ALTER SEQUENCE where the later ALTER could potentially read old data
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h
index 50a9abe0bc6..dc5b135628f 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -55,6 +55,10 @@
*/
#define HA_OPEN_FOR_ALTER 8192U
+/* Open table for FLUSH */
+#define HA_OPEN_FOR_FLUSH 8192U
+
+
/* The following is parameter to ha_rkey() how to use key */
/*