1
0
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:
Dmitry Shulga
2021-07-19 23:13:18 +07:00
parent fa45400d77
commit 832e473d5e
2 changed files with 9 additions and 5 deletions

View File

@@ -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);