mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
ecc4682672
There is a tiny chance for race condition during MDL acquisition. If table is renamed just prior to SELECT 1 FROM <table_name> LIMIT 0 then this query would fail, yet mariabackup --backup does not handle it as fatal error and continues, only to fail later during file copy. The fix is to die on error, of MDL lock query fails.
3 lines
115 B
Text
3 lines
115 B
Text
CREATE TABLE t1(i int) ENGINE INNODB;
|
|
FOUND 1 /failed to execute query SELECT 1 FROM/ in backup.log
|
|
DROP TABLE t2;
|