Commit 856196ea authored by Dmitry Shulga's avatar Dmitry Shulga

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
parent 3a8e7698
...@@ -1615,6 +1615,7 @@ INSERT INTO t1 VALUES (1); ...@@ -1615,6 +1615,7 @@ INSERT INTO t1 VALUES (1);
# stored routine's body doesn't lead to eviction of # stored routine's body doesn't lead to eviction of
# the stored routine from sp_cache # the stored routine from sp_cache
# #
--disable_view_protocol
SET @@debug_dbug='+d,check_sp_cache_not_invalidated'; SET @@debug_dbug='+d,check_sp_cache_not_invalidated';
--echo --echo
...@@ -2524,6 +2525,7 @@ SELECT * FROM t1_result_set; ...@@ -2524,6 +2525,7 @@ SELECT * FROM t1_result_set;
DROP TABLE t1_result_set; DROP TABLE t1_result_set;
SET @@debug_dbug=@orig_dbug; SET @@debug_dbug=@orig_dbug;
--enable_view_protocol
DROP TABLE t1; DROP TABLE t1;
CREATE TABLE t2 (a INT); CREATE TABLE t2 (a INT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment