The world's most popular open source database
#include <item.h>
Inheritance diagram for Item_result_field:


Public Member Functions | |
| Item_result_field () | |
| Item_result_field (THD *thd, Item_result_field *item) | |
| ~Item_result_field () | |
| Field * | get_tmp_table_field () |
| Field * | tmp_table_field (TABLE *t_arg) |
| table_map | used_tables () const |
| virtual void | fix_length_and_dec ()=0 |
| void | set_result_field (Field *field) |
| bool | is_result_field () |
| void | save_in_result_field (bool no_conversions) |
| void | cleanup () |
Public Attributes | |
| Field * | result_field |
Definition at line 1834 of file item.h.
| Item_result_field::Item_result_field | ( | ) | [inline] |
| Item_result_field::Item_result_field | ( | THD * | thd, | |
| Item_result_field * | item | |||
| ) | [inline] |
Definition at line 1840 of file item.h.
01840 : 01841 Item(thd, item), result_field(item->result_field) 01842 {} ~Item_result_field() {} /* Required with gcc 2.95 */
| Item_result_field::~Item_result_field | ( | ) | [inline] |
| void Item_result_field::cleanup | ( | ) | [virtual] |
Reimplemented from Item.
Reimplemented in Item_in_optimizer, Item_func_in, Item_func_like, Item_func_match, Item_func_sp, Item_subselect, Item_singlerow_subselect, Item_maxmin_subselect, Item_sum_distinct, Item_sum_count, Item_sum_count_distinct, Item_sum_hybrid, Item_func_group_concat, and Item_func_convert_tz.
Definition at line 6377 of file item.cc.
References Item::cleanup(), DBUG_ENTER, DBUG_VOID_RETURN, and result_field.
Referenced by Item_func_convert_tz::cleanup(), Item_func_group_concat::cleanup(), Item_sum_count_distinct::cleanup(), Item_sum_hybrid::cleanup(), Item_sum_count::cleanup(), Item_sum_distinct::cleanup(), Item_subselect::cleanup(), Item_func_match::cleanup(), Item_func_sp::cleanup(), Item_func_in::cleanup(), Item_func_like::cleanup(), and Item_in_optimizer::cleanup().
06378 { 06379 DBUG_ENTER("Item_result_field::cleanup()"); 06380 Item::cleanup(); 06381 result_field= 0; 06382 DBUG_VOID_RETURN; 06383 }
Here is the call graph for this function:

Here is the caller graph for this function:

| virtual void Item_result_field::fix_length_and_dec | ( | ) | [pure virtual] |
Implemented in Item_bool_func, Item_bool_func2, Item_func_equal, Item_func_between, Item_func_interval, Item_func_coalesce, Item_func_ifnull, Item_func_if, Item_func_nullif, Item_func_case, Item_func_in, Item_func_isnull, Item_func_isnotnull, Item_equal, Item_real_func, Item_func_numhybrid, Item_int_func, Item_func_connection_id, Item_func_signed, Item_func_unsigned, Item_decimal_typecast, Item_func_minus, Item_func_div, Item_func_int_div, Item_func_neg, Item_func_abs, Item_dec_func, Item_func_integer, Item_func_round, Item_func_units, Item_func_min_max, 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_udf_str, Item_func_get_lock, Item_func_release_lock, Item_master_pos_wait, Item_func_set_user_var, Item_func_get_user_var, Item_func_get_system_var, Item_func_inet_aton, Item_func_is_free_lock, Item_func_is_used_lock, Item_func_row_count, Item_func_sp, Item_func_found_rows, Item_func_md5, Item_func_sha, Item_func_aes_encrypt, Item_func_aes_decrypt, Item_func_concat, Item_func_concat_ws, Item_func_reverse, Item_func_replace, Item_func_insert, Item_func_lcase, Item_func_ucase, Item_func_left, Item_func_right, Item_func_substr, Item_func_substr_index, Item_func_trim, Item_func_password, Item_func_old_password, Item_func_des_encrypt, Item_func_des_decrypt, Item_func_encrypt, Item_func_encode, Item_func_database, Item_func_user, Item_func_soundex, Item_func_elt, Item_func_make_set, Item_func_format, Item_func_char, Item_func_repeat, Item_func_rpad, Item_func_lpad, Item_func_conv, Item_func_hex, Item_func_unhex, Item_func_binary, Item_load_file, Item_func_export_set, Item_func_inet_ntoa, Item_func_quote, Item_func_conv_charset, Item_func_set_collation, Item_func_charset, Item_func_collation, Item_func_crc32, Item_func_uncompressed_length, Item_func_compress, Item_func_uncompress, Item_func_uuid, Item_subselect, Item_singlerow_subselect, Item_exists_subselect, Item_sum, Item_sum_int, Item_sum_sum, Item_sum_distinct, Item_sum_avg_distinct, Item_avg_field, Item_sum_avg, Item_variance_field, Item_sum_variance, Item_sum_bit, Item_sum_udf_str, Item_func_period_add, Item_func_period_diff, Item_func_to_days, Item_func_dayofmonth, Item_func_month, Item_func_monthname, 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_weekday, Item_func_dayname, Item_func_unix_timestamp, Item_func_time_to_sec, Item_date, Item_func_curtime, Item_func_curdate, Item_func_now, Item_func_sysdate_local, Item_func_date_format, Item_func_from_unixtime, Item_func_convert_tz, Item_func_sec_to_time, Item_date_add_interval, Item_extract, Item_typecast, Item_typecast_maybe_null, Item_char_typecast, Item_date_typecast, Item_func_makedate, Item_func_add_time, Item_func_timediff, Item_func_maketime, Item_func_microsecond, Item_func_timestamp_diff, Item_func_get_format, Item_func_str_to_date, Item_func_unique_users, Item_nodeset_func, Item_nodeset_context_cache, Item_func_xpath_position, Item_func_xpath_count, and Item_xml_str_func.
Referenced by Item_func::fix_fields().
Here is the caller graph for this function:

| Field* Item_result_field::get_tmp_table_field | ( | ) | [inline, virtual] |
Reimplemented from Item.
Definition at line 1844 of file item.h.
References result_field.
01844 { return result_field; }
| bool Item_result_field::is_result_field | ( | ) | [inline, virtual] |
| void Item_result_field::save_in_result_field | ( | bool | no_conversions | ) | [inline, virtual] |
Reimplemented from Item.
Definition at line 1850 of file item.h.
References result_field, and Item::save_in_field().
01851 { 01852 save_in_field(result_field, no_conversions); 01853 }
Here is the call graph for this function:

| void Item_result_field::set_result_field | ( | Field * | field | ) | [inline, virtual] |
Reimplemented from Item.
Definition at line 1848 of file item.h.
References result_field.
01848 { result_field= field; }
Reimplemented from Item.
Reimplemented in Item_func_ifnull, Item_func, Item_func_sp, Item_date, Item_date_func, Item_func_curtime, Item_func_sec_to_time, Item_date_typecast, Item_time_typecast, Item_datetime_typecast, Item_func_makedate, Item_func_add_time, Item_func_timediff, Item_func_maketime, and Item_func_str_to_date.
Definition at line 1845 of file item.h.
References result_field.
01845 { return result_field; }
| table_map Item_result_field::used_tables | ( | ) | const [inline, virtual] |
Reimplemented from Item.
Reimplemented in Item_is_not_null_test, Item_cond, Item_func, Item_func_get_user_var, Item_subselect, Item_sum, Item_sum_count, and Item_sum_hybrid.
Definition at line 1846 of file item.h.
Reimplemented in Item_func_sp.
Definition at line 1837 of file item.h.
Referenced by cleanup(), Item_func_group_concat::fix_fields(), Item_sum_hybrid::fix_fields(), Item_sum_num::fix_fields(), get_tmp_table_field(), Item_sum::get_tmp_table_item(), Item_subselect::get_tmp_table_item(), Item_func::get_tmp_table_item(), Item_avg_field::Item_avg_field(), Item_variance_field::Item_variance_field(), Item_sum_hybrid::min_max_update_decimal_field(), Item_sum_hybrid::min_max_update_int_field(), Item_sum_hybrid::min_max_update_real_field(), Item_sum_hybrid::min_max_update_str_field(), Item_sum_bit::reset_field(), Item_sum_avg::reset_field(), Item_sum_count::reset_field(), Item_sum_sum::reset_field(), Item_sum_hybrid::reset_field(), Item_sum_num::reset_field(), Item_sum_variance::reset_field(), save_in_result_field(), set_result_field(), Item_func::tmp_table_field(), tmp_table_field(), Item_sum_avg::update_field(), Item_sum_count::update_field(), Item_sum_sum::update_field(), Item_sum_bit::update_field(), and Item_sum_variance::update_field().
1.4.7

