summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/maria/system_tables.test
blob: 950989fa5ca5ca2145e56bc49fdd9e95a15338ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Test related to Aria system tables
#

#
# MDEV-16986 Unitialized mutex, SIGSEGV and assorted assertion failures in
# Aria code
#

CREATE TABLE t1 (i INT) ENGINE=Aria;
LOCK TABLE t1 WRITE;

--connect (con1,localhost,root,,test)
SET lock_wait_timeout= 2;
FLUSH TABLES;
--send FLUSH TABLES t1
--connection default
--error ER_SP_DOES_NOT_EXIST
CALL non_existing_sp;
--connection con1
--error ER_LOCK_WAIT_TIMEOUT
--reap

# Cleanup
--disconnect con1
--connection default
DROP TABLE t1;