Commit d5c9f84d authored by Jan Lindström's avatar Jan Lindström

MDEV-22707 : galera got stuck after flush tables

Remove unnecessary condition and add necessary include
for non debug Galera library.
parent 65e26bc1
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
--source include/have_innodb.inc --source include/have_innodb.inc
--source include/have_debug.inc --source include/have_debug.inc
--source include/have_debug_sync.inc --source include/have_debug_sync.inc
--source include/galera_have_debug_sync.inc
CREATE TABLE t1(f2 INT) ENGINE=InnoDB; CREATE TABLE t1(f2 INT) ENGINE=InnoDB;
......
...@@ -1861,7 +1861,7 @@ bool open_table(THD *thd, TABLE_LIST *table_list, Open_table_context *ot_ctx) ...@@ -1861,7 +1861,7 @@ bool open_table(THD *thd, TABLE_LIST *table_list, Open_table_context *ot_ctx)
#ifdef WITH_WSREP #ifdef WITH_WSREP
if (!((flags & MYSQL_OPEN_IGNORE_FLUSH) || if (!((flags & MYSQL_OPEN_IGNORE_FLUSH) ||
(wsrep_on(thd) && thd->wsrep_applier))) (thd->wsrep_applier)))
#else #else
if (!(flags & MYSQL_OPEN_IGNORE_FLUSH)) if (!(flags & MYSQL_OPEN_IGNORE_FLUSH))
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment