1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for bug #13399 Crash when executing PS/SP which should activate trigger

which is now dropped" and bug #12329 "Bogus error msg when executing PS with
stored procedure after SP was re-created".
This commit is contained in:
dlenev@mysql.com
2005-11-17 03:51:14 +03:00
parent becda93988
commit 63fcccb193
5 changed files with 115 additions and 10 deletions

View File

@ -975,6 +975,24 @@ return 1;
END |
drop table t1|
drop function bug_13627_f|
drop function if exists bug12329;
create table t1 as select 1 a;
create table t2 as select 1 a;
create function bug12329() returns int return (select a from t1);
prepare stmt1 from 'select bug12329()';
execute stmt1;
bug12329()
1
drop function bug12329;
create function bug12329() returns int return (select a+100 from t2);
select bug12329();
bug12329()
101
execute stmt1;
ERROR HY000: Table 't2' was not locked with LOCK TABLES
deallocate prepare stmt1;
drop function bug12329;
drop table t1, t2;
create database mysqltest1;
use mysqltest1;
drop database mysqltest1;