mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-22707 : galera got stuck after flush tables
Remove unnecessary condition and add necessary include for non debug Galera library.
This commit is contained in:
@@ -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 @@ retry_share:
|
|||||||
|
|
||||||
#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
|
||||||
|
Reference in New Issue
Block a user