#include <item_func.h>
Inheritance diagram for Item_int_func:


Public Member Functions | |
| Item_int_func () | |
| Item_int_func (Item *a) | |
| Item_int_func (Item *a, Item *b) | |
| Item_int_func (Item *a, Item *b, Item *c) | |
| Item_int_func (List< Item > &list) | |
| Item_int_func (THD *thd, Item_int_func *item) | |
| double | val_real () |
| String * | val_str (String *str) |
| enum Item_result | result_type () const |
| void | fix_length_and_dec () |
Definition at line 272 of file item_func.h.
| Item_int_func::Item_int_func | ( | ) | [inline] |
Definition at line 275 of file item_func.h.
References Item::max_length.
00275 :Item_func() { max_length= 21; }
| Item_int_func::Item_int_func | ( | Item * | a | ) | [inline] |
Definition at line 276 of file item_func.h.
References Item::max_length.
00276 :Item_func(a) { max_length= 21; }
Definition at line 277 of file item_func.h.
References Item::max_length.
00277 :Item_func(a,b) { max_length= 21; }
Definition at line 278 of file item_func.h.
References Item::max_length.
00278 :Item_func(a,b,c) 00279 { max_length= 21; }
Definition at line 280 of file item_func.h.
References Item::max_length.
00280 :Item_func(list) { max_length= 21; }
| Item_int_func::Item_int_func | ( | THD * | thd, | |
| Item_int_func * | item | |||
| ) | [inline] |
| void Item_int_func::fix_length_and_dec | ( | ) | [inline, virtual] |
Implements Item_result_field.
Reimplemented in Item_bool_func, Item_bool_func2, Item_func_equal, Item_func_between, Item_func_interval, Item_func_nullif, Item_func_in, Item_func_isnull, Item_func_isnotnull, Item_equal, Item_func_connection_id, Item_func_signed, Item_func_unsigned, Item_func_int_div, Item_func_integer, Item_func_length, Item_func_char_length, Item_func_coercibility, Item_func_locate, Item_func_field, Item_func_ascii, Item_func_find_in_set, Item_func_bit, Item_func_bit_count, Item_func_last_insert_id, Item_func_benchmark, Item_func_get_lock, Item_func_release_lock, Item_master_pos_wait, Item_func_inet_aton, Item_func_is_free_lock, Item_func_is_used_lock, Item_func_row_count, Item_func_found_rows, Item_func_crc32, Item_func_uncompressed_length, Item_func_period_add, Item_func_period_diff, Item_func_to_days, Item_func_dayofmonth, Item_func_dayofyear, Item_func_hour, Item_func_minute, Item_func_quarter, Item_func_second, Item_func_week, Item_func_yearweek, Item_func_year, Item_func_unix_timestamp, Item_func_time_to_sec, Item_extract, Item_func_microsecond, Item_func_timestamp_diff, Item_func_xpath_position, and Item_func_xpath_count.
Definition at line 285 of file item_func.h.
Referenced by Item_func_connection_id::fix_length_and_dec().
Here is the caller graph for this function:

| enum Item_result Item_int_func::result_type | ( | ) | const [inline, virtual] |
Reimplemented from Item.
Reimplemented in Item_func_nullif.
Definition at line 284 of file item_func.h.
References INT_RESULT.
Referenced by Item_in_optimizer::fix_left(), Item_func_field::fix_length_and_dec(), Item_bool_func2::fix_length_and_dec(), Item_func_like::select_optimize(), and Item_func_benchmark::val_int().
00284 { return INT_RESULT; }
Here is the caller graph for this function:

| double Item_int_func::val_real | ( | void | ) | [inline, virtual] |
Implements Item.
Reimplemented in Item_func_nullif, and Item_func_signed.
Definition at line 282 of file item_func.h.
References DBUG_ASSERT, Item::fixed, and Item::val_int().
Referenced by Item_func_benchmark::val_int(), and Item_func_field::val_int().
00282 { DBUG_ASSERT(fixed == 1); return (double) val_int(); }
Here is the call graph for this function:

Here is the caller graph for this function:

Implements Item.
Reimplemented in Item_func_nullif.
Definition at line 559 of file item_func.cc.
References DBUG_ASSERT, Item::fixed, my_charset_bin, Item::null_value, String::set_int(), Item::unsigned_flag, and Item::val_int().
Referenced by Item_func_find_in_set::fix_length_and_dec(), Item_func_inet_aton::val_int(), Item_func_benchmark::val_int(), Item_func_field::val_int(), and Item_func_signed::val_int_from_str().
00560 { 00561 DBUG_ASSERT(fixed == 1); 00562 longlong nr=val_int(); 00563 if (null_value) 00564 return 0; 00565 str->set_int(nr, unsigned_flag, &my_charset_bin); 00566 return str; 00567 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.4.7

