From a2a2e32c02643a0cec111511220227703fda1cd5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 1 Jul 2024 20:15:00 +0200 Subject: Merging upstream version 1:11.4.2. Signed-off-by: Daniel Baumann --- mysql-test/suite/sys_vars/t/mdev_32640.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mysql-test/suite/sys_vars/t/mdev_32640.test (limited to 'mysql-test/suite/sys_vars/t/mdev_32640.test') diff --git a/mysql-test/suite/sys_vars/t/mdev_32640.test b/mysql-test/suite/sys_vars/t/mdev_32640.test new file mode 100644 index 00000000..693bb1e9 --- /dev/null +++ b/mysql-test/suite/sys_vars/t/mdev_32640.test @@ -0,0 +1,18 @@ +--source include/not_embedded.inc + +PREPARE s_1 FROM 'SHOW RELAYLOG EVENTS'; +/* 1 */ SET default_master_connection='MASTER'; +--error WARN_NO_MASTER_INFO +/* 1 */ EXECUTE s_1; +/* 2 */ SET default_master_connection='MASTER'; +--error WARN_NO_MASTER_INFO +/* 2 */ EXECUTE s_1; + +create procedure p() SHOW RELAYLOG EVENTS; +/* 1 */ SET default_master_connection='MASTER'; +--error WARN_NO_MASTER_INFO +/* 1 */ call p; +/* 2 */ SET default_master_connection='MASTER'; +--error WARN_NO_MASTER_INFO +/* 2 */ call p; +drop procedure p; -- cgit v1.2.3