summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-09-18 13:06:44 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2004-09-18 13:06:44 +0400
commitd7281b331a79d1e2e3f026bbf71660006ee6df0b (patch)
tree93fd06c086dffc2635a6570d6c71cc5bb22174c9 /sql/item_cmpfunc.h
parente84eb55a0778ca62490c79136b9a09379b02773a (diff)
downloadmariadb-git-d7281b331a79d1e2e3f026bbf71660006ee6df0b.tar.gz
Fix for bug #5595: NULLIF() IS NULL returns false if NULLIF() returns NULL
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 236ebb8d28b..8f1aa525190 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -240,6 +240,7 @@ public:
void fix_length_and_dec();
const char *func_name() const { return "nullif"; }
table_map not_null_tables() const { return 0; }
+ bool is_null();
};