mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-26181: The test compat/oracle.sp-row fails in case it is run in PS mode.
There were several places where a statement delimiter missed so such statements were interpreted as multi-statements and expectedly failed in PS mode. An appropriate statement delimiters have been added to fix the issues. Addinitinally, the operators --enable_prepare_warnings/--disable_prepare_warnings have been added around statements that use depricated syntax SELECT INTO to don't miss warnings.
This commit is contained in:
@@ -252,6 +252,7 @@ AS
|
||||
BEGIN
|
||||
RETURN a;
|
||||
END;
|
||||
$$
|
||||
CREATE PROCEDURE p1()
|
||||
AS
|
||||
a ROW (a INT,b INT);
|
||||
@@ -268,6 +269,7 @@ AS
|
||||
BEGIN
|
||||
RETURN a;
|
||||
END;
|
||||
$$
|
||||
CREATE PROCEDURE p1()
|
||||
AS
|
||||
a ROW (a INT);
|
||||
|
||||
Reference in New Issue
Block a user