1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Fix for bug #5595: NULLIF() IS NULL returns false if NULLIF() returns NULL

This commit is contained in:
unknown
2004-09-18 13:06:44 +04:00
parent e84eb55a07
commit d7281b331a
4 changed files with 17 additions and 0 deletions

View File

@@ -64,3 +64,6 @@ select if(1>2,a,avg(a)) from t1;
if(1>2,a,avg(a))
1.5000
drop table t1;
SELECT NULLIF(5,5) IS NULL, NULLIF(5,5) IS NOT NULL;
NULLIF(5,5) IS NULL NULLIF(5,5) IS NOT NULL
1 0