1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #27907 "Misleading error message when opening/locking tables"

Adjust the check that defines the error message to be returned.
This commit is contained in:
kostja@vajra.(none)
2007-05-18 12:29:06 +04:00
parent 6d6674e71f
commit 1016aa36ec
7 changed files with 64 additions and 13 deletions

View File

@ -820,9 +820,9 @@ call p1();
drop trigger t1_bi;
create trigger t1_bi after insert on t1 for each row insert into t3 values (new.id);
execute stmt1;
ERROR HY000: Table 't3' was not locked with LOCK TABLES
ERROR 42S02: Table 'test.t3' doesn't exist
call p1();
ERROR HY000: Table 't3' was not locked with LOCK TABLES
ERROR 42S02: Table 'test.t3' doesn't exist
deallocate prepare stmt1;
drop procedure p1;
drop table t1, t2, t3;