1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixed bug #643, which caused intermittent crashes in net_printf() with repeated

syntax errors in stored procedures.
This commit is contained in:
pem@mysql.com
2003-06-12 15:31:20 +02:00
parent 7c6522a74e
commit 541c94fcf1
3 changed files with 17 additions and 0 deletions

View File

@@ -7,6 +7,16 @@ delete from mysql.proc;
delimiter |;
# This should give three syntax errors (sometimes crashed; bug #643)
# (Unfortunately, this is not a 100% test, on some platforms this
# passed despite the bug.)
--error 1064
create procedure syntaxerror(t int)|
--error 1064
create procedure syntaxerror(t int)|
--error 1064
create procedure syntaxerror(t int)|
# Check that we get the right error, i.e. UDF declaration parses correctly,
# but foo.so doesn't exist.
# QQ This generates an error message containing a misleading errno which