Commit 9e371dd2 authored by mleich@five.local.lan's avatar mleich@five.local.lan
Browse files

Minor corrections within the script

parent d42545fb
Loading
Loading
Loading
Loading
+14 −12
Original line number Diff line number Diff line
@@ -192,6 +192,7 @@ SUCCESS
select @message;
@message
new trigger: 11
Test 6-e: removing a relevant trigger
drop trigger t1_bi;
set @val=12;
execute stmt using @val;
@@ -740,6 +741,7 @@ drop procedure p1;
create procedure p1(out x int) select max(a) from t2 into x;
# XXX: bug. The prelocked list is not invalidated
# and we keep opening table t1, whereas the procedure
# is now referring to table t2
execute stmt;
ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
call p_verify_reprepare_count(0);
+22 −22
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ execute stmt using @val;
call p_verify_reprepare_count(1);
select @message;

--ehco Test 6-e: removing a relevant trigger
--echo Test 6-e: removing a relevant trigger

drop trigger t1_bi;

@@ -674,7 +674,7 @@ drop procedure p1;
create procedure p1(out x int) select max(a) from t2 into x;
--echo # XXX: bug. The prelocked list is not invalidated
--echo # and we keep opening table t1, whereas the procedure
--ehco # is now referring to table t2
--echo # is now referring to table t2
--error ER_VIEW_INVALID
execute stmt;
call p_verify_reprepare_count(0);