mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Added test case for SELECT INTO with too many rows.
This commit is contained in:
@ -5,6 +5,15 @@ create procedure syntaxerror(t int)|
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
|
||||
create procedure syntaxerror(t int)|
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
|
||||
drop table if exists t3|
|
||||
create table t3 ( x int )|
|
||||
insert into t3 values (2), (3)|
|
||||
create procedure bad_into(out param int)
|
||||
select x from t3 into param|
|
||||
call bad_into(@x)|
|
||||
ERROR 42000: Result consisted of more than one row
|
||||
drop procedure bad_into|
|
||||
drop table t3|
|
||||
create procedure proc1()
|
||||
set @x = 42|
|
||||
create function func1() returns int
|
||||
|
Reference in New Issue
Block a user