1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-5317 out parameters in PREPARE "SELECT ... INTO"

originally based on the patch by Antony T Curtis
This commit is contained in:
Sergei Golubchik
2014-08-13 21:04:05 +02:00
parent 278f7fdd7e
commit a99af484cd
14 changed files with 351 additions and 9 deletions

View File

@ -256,9 +256,14 @@ execute stmt1 using @my_key ;
execute full_info ;
--disable_metadata
# the next statement must fail
--error 1064
# the next statement does not fail anymore
prepare stmt1 from "select c1 into ? from t9 where c1= 1" ;
execute stmt1 using @result;
--enable_metadata
execute full_info ;
--disable_metadata
select @result;