| 1 |
# |
| 2 |
# Test related to Aria system tables |
| 3 |
# |
| 4 |
|
| 5 |
# |
| 6 |
# MDEV-16986 Unitialized mutex, SIGSEGV and assorted assertion failures in |
| 7 |
# Aria code |
| 8 |
# |
| 9 |
|
| 10 |
CREATE TABLE t1 (i INT) ENGINE=Aria; |
| 11 |
LOCK TABLE t1 WRITE; |
| 12 |
|
| 13 |
--connect (con1,localhost,root,,test) |
| 14 |
SET lock_wait_timeout= 2; |
| 15 |
FLUSH TABLES; |
| 16 |
--send FLUSH TABLES t1 |
| 17 |
--connection default |
| 18 |
--error ER_SP_DOES_NOT_EXIST |
| 19 |
CALL non_existing_sp; |
| 20 |
--connection con1 |
| 21 |
--error ER_LOCK_WAIT_TIMEOUT |
| 22 |
--reap |
| 23 |
|
| 24 |
# Cleanup |
| 25 |
--disconnect con1 |
| 26 |
--connection default |
| 27 |
DROP TABLE t1; |