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

A fix and a test case for Bug#13587 "Server crash when SP is created

without database"
This commit is contained in:
konstantin@mysql.com
2005-10-19 14:46:32 +04:00
parent 867e790dc8
commit bee76b78a2
3 changed files with 58 additions and 7 deletions

View File

@@ -1266,6 +1266,24 @@ drop procedure bug13510_4|
delimiter ;|
#
# Bug#13514 "server crash when create a stored procedure before choose a
# database" and
# Bug#13587 "Server crash when SP is created without database
# selected"
#
create database mysqltest1;
use mysqltest1;
drop database mysqltest1;
--error ER_NO_DB_ERROR
create function f1() returns int return 1;
delimiter |;
--error ER_NO_DB_ERROR
create procedure p1(out param1 int)
begin
select count(*) into param1 from t3;
end|
delimiter ;|
use test;
# BUG#NNNN: New bug synopsis
#
#--disable_warnings