summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-10-09 15:01:02 +0200
committerunknown <serg@serg.mysql.com>2001-10-09 15:01:02 +0200
commit85e02d693c10553fd15c1193865a7e6996545838 (patch)
tree3065e2b92039e911c2fc142749b31c47d64db7cd /sql/item_func.h
parent2204fbea330b5877a104d64a62f2fa6535833fce (diff)
parentade101ca2bf132b5eb065ef74aa574c01e202074 (diff)
downloadmariadb-git-85e02d693c10553fd15c1193865a7e6996545838.tar.gz
Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0 mysql-test/r/join.result: Auto merged mysql-test/t/join.test: Auto merged
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index ac4c230f312..bd3ef0bf2d7 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -119,6 +119,7 @@ public:
{
return (null_value=args[0]->get_time(ltime));
}
+ bool is_null() { (void) val_int(); return null_value; }
friend class udf_handler;
};
@@ -147,6 +148,7 @@ public:
longlong val_int() { return (longlong) val(); }
enum Item_result result_type () const { return hybrid_type; }
void fix_length_and_dec() { fix_num_length_and_dec(); }
+ bool is_null() { (void) val(); return null_value; }
};
@@ -161,6 +163,7 @@ class Item_num_op :public Item_func
enum Item_result result_type () const { return hybrid_type; }
void fix_length_and_dec() { fix_num_length_and_dec(); find_num_type(); }
void find_num_type(void);
+ bool is_null() { (void) val(); return null_value; }
};