1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
This commit is contained in:
vva@eagle.mysql.r18.ru
2003-08-27 21:26:00 -04:00
7 changed files with 206 additions and 1 deletions

View File

@ -280,6 +280,8 @@ public:
class Item_func_ifnull :public Item_func
{
enum Item_result cached_result_type;
enum_field_types cached_field_type;
bool field_type_defined;
public:
Item_func_ifnull(Item *a,Item *b)
:Item_func(a,b), cached_result_type(INT_RESULT)
@ -288,8 +290,10 @@ public:
longlong val_int();
String *val_str(String *str);
enum Item_result result_type () const { return cached_result_type; }
enum_field_types field_type() const;
void fix_length_and_dec();
const char *func_name() const { return "ifnull"; }
Field *tmp_table_field(TABLE *table);
table_map not_null_tables() const { return 0; }
};