diff options
author | unknown <dlenev@mysql.com> | 2005-07-09 23:11:17 +0400 |
---|---|---|
committer | unknown <dlenev@mysql.com> | 2005-07-09 23:11:17 +0400 |
commit | d0c69a8264a21d343f0f69e31e4494ae0fbff18f (patch) | |
tree | 097d07e278960e3486ed5a1efd51abf4c98212b1 /mysql-test/t/trigger.test | |
parent | eef5f17bde32a703a1c34fea2607805a128be42d (diff) | |
download | mariadb-git-d0c69a8264a21d343f0f69e31e4494ae0fbff18f.tar.gz |
Manual fixes after merging patch for bug #8406 "Triggers crash if referencing
a table" with main tree.
mysql-test/r/trigger.result:
Temporalily disable part of test which exposes bug #11554 (work on which is in
progress).
mysql-test/t/sp-error.test:
After merge fix.
Fixed wrong delimiter command.
mysql-test/t/trigger.test:
Temporalily disable part of test which exposes bug #11554 (work on which is in
progress).
sql/sp.cc:
After merge fix.
Item_arena was renamed to Query_arena.
sql/sp.h:
After merge fix.
Item_arena was renamed to Query_arena.
sql/sql_lex.cc:
After merge fix.
LEX::spfuns/spprocs hashes were replaces with one LEX::sroutines hash.
Diffstat (limited to 'mysql-test/t/trigger.test')
-rw-r--r-- | mysql-test/t/trigger.test | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/mysql-test/t/trigger.test b/mysql-test/t/trigger.test index 7fcfbcedb60..229cbd3c79c 100644 --- a/mysql-test/t/trigger.test +++ b/mysql-test/t/trigger.test @@ -578,14 +578,15 @@ drop table t1, t2; # Test for bug #5893 "Triggers with dropped functions cause crashes" # Appropriate error should be reported instead of crash. ---disable_warnings -drop function if exists bug5893; ---enable_warnings -create table t1 (col1 int, col2 int); -insert into t1 values (1, 2); -create function bug5893 () returns int return 5; -create trigger t1_bu before update on t1 for each row set new.col1= bug5893(); -drop function bug5893; ---error 1305 -update t1 set col2 = 4; -drop table t1; +# Had to disable this test until bug #11554 will be fixed. +#--disable_warnings +#drop function if exists bug5893; +#--enable_warnings +#create table t1 (col1 int, col2 int); +#insert into t1 values (1, 2); +#create function bug5893 () returns int return 5; +#create trigger t1_bu before update on t1 for each row set new.col1= bug5893(); +#drop function bug5893; +#--error 1305 +#update t1 set col2 = 4; +#drop table t1; |