mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.1.1.expect
|
||||
|
||||
--exec echo "wait" > $_expect_file_name
|
||||
--shutdown_server
|
||||
--source include/wait_until_disconnected.inc
|
||||
--exec echo "restart" > $_expect_file_name
|
||||
--enable_reconnect
|
||||
--source include/wait_until_connected_again.inc
|
12
storage/spider/mysql-test/spider/bugfix/r/mdev_29352.result
Normal file
12
storage/spider/mysql-test/spider/bugfix/r/mdev_29352.result
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE t (c INT);
|
||||
SHOW CREATE TABLE t;
|
||||
Table Create Table
|
||||
t CREATE TABLE `t` (
|
||||
`c` int(11) DEFAULT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
FLUSH TABLES WITH READ LOCK;
|
||||
CREATE FUNCTION spider_bg_direct_sql RETURNS INT SONAME 'ha_spider.so';
|
||||
ERROR HY000: Can't execute the query because you have a conflicting read lock
|
||||
SELECT * FROM t;
|
||||
c
|
||||
DROP TABLE t;
|
11
storage/spider/mysql-test/spider/bugfix/t/mdev_29352.test
Normal file
11
storage/spider/mysql-test/spider/bugfix/t/mdev_29352.test
Normal file
@@ -0,0 +1,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_spider.inc
|
||||
|
||||
DROP TABLE t;
|
Reference in New Issue
Block a user