mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fix after manual merge.
mysql-test/t/sp-error.test: Move test for bug#20953 to the end of file.
This commit is contained in:
parent
649f3d5479
commit
1c1fd2a46e
1 changed files with 21 additions and 22 deletions
|
|
@ -1745,6 +1745,27 @@ drop function if exists bug16896;
|
|||
create aggregate function bug16896() returns int return 1;
|
||||
|
||||
|
||||
#
|
||||
# BUG#14702: misleading error message when syntax error in CREATE
|
||||
# PROCEDURE
|
||||
#
|
||||
# Misleading error message was given when IF NOT EXISTS was used in
|
||||
# CREATE PROCEDURE.
|
||||
#
|
||||
--disable_warnings
|
||||
DROP PROCEDURE IF EXISTS bug14702;
|
||||
--enable_warnings
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE IF NOT EXISTS PROCEDURE bug14702()
|
||||
BEGIN
|
||||
END;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE IF NOT EXISTS bug14702()
|
||||
BEGIN
|
||||
END;
|
||||
|
||||
|
||||
#
|
||||
# BUG#20953: create proc with a create view that uses local
|
||||
|
|
@ -1787,28 +1808,6 @@ PREPARE stmt FROM "CREATE VIEW v AS SELECT ?";
|
|||
DROP TABLE t1;
|
||||
|
||||
|
||||
#
|
||||
# BUG#14702: misleading error message when syntax error in CREATE
|
||||
# PROCEDURE
|
||||
#
|
||||
# Misleading error message was given when IF NOT EXISTS was used in
|
||||
# CREATE PROCEDURE.
|
||||
#
|
||||
--disable_warnings
|
||||
DROP PROCEDURE IF EXISTS bug14702;
|
||||
--enable_warnings
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE IF NOT EXISTS PROCEDURE bug14702()
|
||||
BEGIN
|
||||
END;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE IF NOT EXISTS bug14702()
|
||||
BEGIN
|
||||
END;
|
||||
|
||||
|
||||
#
|
||||
# BUG#NNNN: New bug synopsis
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue