mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-14228 MariaDB crashes with function
This commit is contained in:
@ -232,7 +232,7 @@ SELECT a=1;
|
||||
END;
|
||||
$$
|
||||
CALL p1();
|
||||
ERROR 21000: Operand should contain 2 column(s)
|
||||
ERROR HY000: Illegal parameter data types row and int for operation '='
|
||||
DROP PROCEDURE p1;
|
||||
CREATE PROCEDURE p1()
|
||||
AS
|
||||
@ -242,7 +242,7 @@ SELECT 1=a;
|
||||
END;
|
||||
$$
|
||||
CALL p1();
|
||||
ERROR 21000: Operand should contain 1 column(s)
|
||||
ERROR HY000: Illegal parameter data types int and row for operation '='
|
||||
DROP PROCEDURE p1;
|
||||
#
|
||||
# Passing the entire ROW to a stored function
|
||||
|
Reference in New Issue
Block a user