1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added test case for SELECT INTO with too many rows.

This commit is contained in:
pem@mysql.comhem.se
2004-06-09 18:50:03 +02:00
parent 7aa3207cb3
commit a3082cd3c9
2 changed files with 26 additions and 0 deletions

View File

@@ -25,6 +25,23 @@ create procedure syntaxerror(t int)|
#--error 1126
#create function foo returns real soname "foo.so"|
--disable_warnings
drop table if exists t3|
--enable_warnings
create table t3 ( x int )|
insert into t3 values (2), (3)|
create procedure bad_into(out param int)
select x from t3 into param|
--error 1172
call bad_into(@x)|
drop procedure bad_into|
drop table t3|
create procedure proc1()
set @x = 42|