1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug #31866: MySQL Server crashes on SHOW CREATE TRIGGER statement

SHOW CREATE TRIGGER was not checking for detected errors 
opening/reading the trigger file. 
Fixed to return the already generated error.
This commit is contained in:
gkodinov/kgeorge@magare.gmz
2007-11-01 14:42:14 +02:00
parent 69ed192e72
commit 447eff2d98
3 changed files with 21 additions and 0 deletions

View File

@@ -1978,3 +1978,9 @@ a
1
drop table table_25411_a;
drop table table_25411_b;
DROP TRIGGER IF EXISTS trg;
Warnings:
Note 1360 Trigger does not exist
SHOW CREATE TRIGGER trg;
ERROR HY000: Trigger does not exist
End of 5.1 tests.