Loading mysql-test/r/ps_ddl.result +14 −12 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); Loading mysql-test/t/ps_ddl.test +22 −22 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); Loading Loading
mysql-test/r/ps_ddl.result +14 −12 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); Loading
mysql-test/t/ps_ddl.test +22 −22 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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); Loading