1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Correct handling of parameter variables with NULL values in PREPARE queries

This commit is contained in:
unknown
2004-04-07 12:58:28 +04:00
parent fbfdff7fb0
commit 4ceaf3a629
3 changed files with 17 additions and 2 deletions

View File

@ -66,6 +66,7 @@ NULL
NULL
NULL
NULL
set @nullvar=1;
set @nullvar=NULL;
execute stmt5 using @nullvar;
? + a
@ -74,4 +75,12 @@ NULL
NULL
NULL
NULL
set @nullvar2=NULL;
execute stmt5 using @nullvar2;
? + a
NULL
NULL
NULL
NULL
NULL
drop table t1;