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


Public Member Functions | |
| store_key_field (THD *thd, Field *to_field_arg, char *ptr, char *null_ptr_arg, uint length, Field *from_field, const char *name_arg) | |
| enum store_key_result | copy () |
| const char * | name () const |
Private Attributes | |
| Copy_field | copy_field |
| const char * | field_name |
Definition at line 491 of file sql_select.h.
| store_key_field::store_key_field | ( | THD * | thd, | |
| Field * | to_field_arg, | |||
| char * | ptr, | |||
| char * | null_ptr_arg, | |||
| uint | length, | |||
| Field * | from_field, | |||
| const char * | name_arg | |||
| ) | [inline] |
Definition at line 496 of file sql_select.h.
References copy_field, Copy_field::set(), and store_key::to_field.
00498 :store_key(thd, to_field_arg,ptr, 00499 null_ptr_arg ? null_ptr_arg : from_field->maybe_null() ? &err 00500 : NullS,length), field_name(name_arg) 00501 { 00502 if (to_field) 00503 { 00504 copy_field.set(to_field,from_field,0); 00505 } 00506 }
Here is the call graph for this function:

| enum store_key_result store_key_field::copy | ( | ) | [inline, virtual] |
Implements store_key.
Definition at line 507 of file sql_select.h.
References copy_field, dbug_tmp_restore_column_map(), dbug_tmp_use_all_columns(), Copy_field::do_copy, store_key::err, store_key::STORE_KEY_FATAL, store_key::STORE_KEY_OK, Field::table, Copy_field::to_field, and st_table::write_set.
00508 { 00509 TABLE *table= copy_field.to_field->table; 00510 my_bitmap_map *old_map= dbug_tmp_use_all_columns(table, 00511 table->write_set); 00512 copy_field.do_copy(©_field); 00513 dbug_tmp_restore_column_map(table->write_set, old_map); 00514 return err != 0 ? STORE_KEY_FATAL : STORE_KEY_OK; 00515 }
Here is the call graph for this function:

| const char* store_key_field::name | ( | ) | const [inline, virtual] |
Implements store_key.
Definition at line 516 of file sql_select.h.
References field_name.
00516 { return field_name; }
Copy_field store_key_field::copy_field [private] |
const char* store_key_field::field_name [private] |
1.4.7

