summaryrefslogtreecommitdiff
path: root/storage/spider/mysql-test/spider/bugfix/t/mdev_29352.test
blob: 626364efb99a5d945e2bffa2f33b117604cb433e (plain)
1
2
3
4
5
6
7
8
9
10
11
CREATE TABLE t (c INT);
SHOW CREATE TABLE t;
FLUSH TABLES WITH READ LOCK;

--error ER_CANT_UPDATE_WITH_READLOCK
CREATE FUNCTION spider_bg_direct_sql RETURNS INT SONAME 'ha_spider.so';
SELECT * FROM t;

--source include/restart_mysqld.inc

DROP TABLE t;