diff options
author | unknown <evgen@moonbone.local> | 2006-07-26 00:37:35 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2006-07-26 00:37:35 +0400 |
commit | beb6f57c413fb714bf035f9850c9c4358b508a75 (patch) | |
tree | fd99a6bfc0016003b4d05aa25924cfa399b0b338 /sql/item_func.h | |
parent | ca3dbd26d43ed252c3c9cf2cc1815a233481ce60 (diff) | |
parent | 9a63adc8fd18489aa3a75c7715abaea0dcd16349 (diff) | |
download | mariadb-git-beb6f57c413fb714bf035f9850c9c4358b508a75.tar.gz |
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into moonbone.local:/work/19862-bug-5.0-opt-mysql
sql/item_func.h:
Auto merged
sql/sql_select.cc:
Auto merged
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index c54fc701c53..bac4a186867 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -55,7 +55,7 @@ public: NOT_FUNC, NOT_ALL_FUNC, NOW_FUNC, TRIG_COND_FUNC, GUSERVAR_FUNC, COLLATE_FUNC, - EXTRACT_FUNC, CHAR_TYPECAST_FUNC, FUNC_SP }; + EXTRACT_FUNC, CHAR_TYPECAST_FUNC, FUNC_SP, UDF_FUNC }; enum optimize_type { OPTIMIZE_NONE,OPTIMIZE_KEY,OPTIMIZE_OP, OPTIMIZE_NULL, OPTIMIZE_EQUAL }; enum Type type() const { return FUNC_ITEM; } @@ -189,6 +189,7 @@ public: Item *transform(Item_transformer transformer, byte *arg); void traverse_cond(Cond_traverser traverser, void * arg, traverse_order order); + bool func_type_checker_processor(byte *arg); }; @@ -933,6 +934,7 @@ public: Item_udf_func(udf_func *udf_arg, List<Item> &list) :Item_func(list), udf(udf_arg) {} const char *func_name() const { return udf.name(); } + enum Functype functype() const { return UDF_FUNC; } bool fix_fields(THD *thd, Item **ref) { DBUG_ASSERT(fixed == 0); |