mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into mysql.com:/Users/davi/mysql/mysql-5.1-runtime mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged sql/sql_view.cc: Auto merged
This commit is contained in:
@ -3720,6 +3720,16 @@ DROP VIEW v1;
|
||||
|
||||
# -- End of test case for Bug#32538.
|
||||
|
||||
drop view if exists a;
|
||||
drop procedure if exists p;
|
||||
create procedure p()
|
||||
begin
|
||||
declare continue handler for sqlexception begin end;
|
||||
create view a as select 1;
|
||||
end|
|
||||
call p();
|
||||
call p();
|
||||
drop procedure p;
|
||||
# -----------------------------------------------------------------
|
||||
# -- Bug#34337: Server crash when Altering a view using a table name.
|
||||
# -----------------------------------------------------------------
|
||||
|
@ -3601,6 +3601,26 @@ DROP VIEW v1;
|
||||
--echo # -- End of test case for Bug#32538.
|
||||
--echo
|
||||
|
||||
#
|
||||
# Bug#34587 Creating a view inside a stored procedure leads to a server crash
|
||||
#
|
||||
|
||||
--disable_warnings
|
||||
drop view if exists a;
|
||||
drop procedure if exists p;
|
||||
--enable_warnings
|
||||
|
||||
delimiter |;
|
||||
create procedure p()
|
||||
begin
|
||||
declare continue handler for sqlexception begin end;
|
||||
create view a as select 1;
|
||||
end|
|
||||
delimiter ;|
|
||||
call p();
|
||||
call p();
|
||||
drop procedure p;
|
||||
|
||||
###########################################################################
|
||||
|
||||
--echo # -----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user