mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-23843 Assertions in Diagnostics_area upon table operations under FTWRL
Fixed binary logging in ANALYZE TABLE to work as optimize table
This commit is contained in:
@ -27,3 +27,17 @@ FLUSH TABLES;
|
||||
--connection default
|
||||
--disconnect con1
|
||||
unlock tables;
|
||||
|
||||
--echo # Second test from MDEV-23843
|
||||
|
||||
CREATE TABLE t (a INT);
|
||||
FLUSH TABLES WITH READ LOCK;
|
||||
--connect (con1,localhost,root,,)
|
||||
SET lock_wait_timeout= 1;
|
||||
--error ER_LOCK_WAIT_TIMEOUT
|
||||
ANALYZE TABLE t;
|
||||
# Cleanup
|
||||
--disconnect con1
|
||||
--connection default
|
||||
UNLOCK TABLES;
|
||||
DROP TABLE t;
|
||||
|
Reference in New Issue
Block a user