diff options
author | gluh@gluh.mysql.r18.ru <> | 2004-09-18 13:06:44 +0400 |
---|---|---|
committer | gluh@gluh.mysql.r18.ru <> | 2004-09-18 13:06:44 +0400 |
commit | 276622c92d6ff6c43383019b2eeb94c84018cd3a (patch) | |
tree | 93fd06c086dffc2635a6570d6c71cc5bb22174c9 /mysql-test/r/func_if.result | |
parent | 0b6dc4938838c32c51b4c3633551711110229dc4 (diff) | |
download | mariadb-git-276622c92d6ff6c43383019b2eeb94c84018cd3a.tar.gz |
Fix for bug #5595: NULLIF() IS NULL returns false if NULLIF() returns NULL
Diffstat (limited to 'mysql-test/r/func_if.result')
-rw-r--r-- | mysql-test/r/func_if.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/func_if.result b/mysql-test/r/func_if.result index aee54ede324..72226588de3 100644 --- a/mysql-test/r/func_if.result +++ b/mysql-test/r/func_if.result @@ -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 |