From 856196ea597b43ca7ddaece69741421ed2b650cd Mon Sep 17 00:00:00 2001 From: Dmitry Shulga Date: Wed, 19 Jul 2023 18:26:09 +0700 Subject: [PATCH] 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 --- mysql-test/main/sp_validation.test | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql-test/main/sp_validation.test b/mysql-test/main/sp_validation.test index 1b6d92ec8cb..3dc17dab0da 100644 --- a/mysql-test/main/sp_validation.test +++ b/mysql-test/main/sp_validation.test @@ -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);