1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-5816: fixes for --view

view creation (that mysqltest automatically does in --view protocol)
can cause sp cache invalidation, and that will cause the test to fail
(because the test checks that invalidation did not happen).

disable view protocol in the parts of the test where this is the case

Author: Sergei Golubchik
This commit is contained in:
Dmitry Shulga
2023-07-19 18:26:09 +07:00
parent 3a8e769836
commit 856196ea59

View File

@ -1615,6 +1615,7 @@ INSERT INTO t1 VALUES (1);
# stored routine's body doesn't lead to eviction of
# the stored routine from sp_cache
#
--disable_view_protocol
SET @@debug_dbug='+d,check_sp_cache_not_invalidated';
--echo
@ -2524,6 +2525,7 @@ SELECT * FROM t1_result_set;
DROP TABLE t1_result_set;
SET @@debug_dbug=@orig_dbug;
--enable_view_protocol
DROP TABLE t1;
CREATE TABLE t2 (a INT);