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

Correct handling of parameter variables with NULL values in PREPARE queries

This commit is contained in:
sergefp@mysql.com
2004-04-07 12:58:28 +04:00
parent 1f8505d66f
commit ca75b62d5a
3 changed files with 17 additions and 2 deletions

View File

@ -68,8 +68,12 @@ execute stmt5 using @a;
execute stmt5 using @no_such_var;
set @nullvar=1;
set @nullvar=NULL;
execute stmt5 using @nullvar;
set @nullvar2=NULL;
execute stmt5 using @nullvar2;
drop table t1;