summaryrefslogtreecommitdiff
path: root/mysql-test/main/lock_sync.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/lock_sync.test')
-rw-r--r--mysql-test/main/lock_sync.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/main/lock_sync.test b/mysql-test/main/lock_sync.test
index ed0ae19f921..b2cb0bc058c 100644
--- a/mysql-test/main/lock_sync.test
+++ b/mysql-test/main/lock_sync.test
@@ -82,6 +82,7 @@ create view v1 as select i from t1;
create view v2 as select j from t2 where j in (select i from t1);
create procedure p1(k int) insert into t2 values (k);
delimiter |;
+--enable_prepare_warnings
create function f1() returns int
begin
declare j int;
@@ -223,6 +224,8 @@ begin
end|
delimiter ;|
+--disable_prepare_warnings
+
--echo #
--echo # Set common variables to be used by the scripts
--echo # called below.