Commit d4074bbe authored by unknown's avatar unknown

removed unused field

layout fised
debug information added


sql/item.cc:
  layout fix
  debug info
sql/sql_class.h:
  removed unused field
parent 54a8eb62
...@@ -103,8 +103,7 @@ void Item::print_item_w_name(String *str) ...@@ -103,8 +103,7 @@ void Item::print_item_w_name(String *str)
Item_ident::Item_ident(const char *db_name_par,const char *table_name_par, Item_ident::Item_ident(const char *db_name_par,const char *table_name_par,
const char *field_name_par) const char *field_name_par)
: :orig_db_name(db_name_par), orig_table_name(table_name_par),
orig_db_name(db_name_par), orig_table_name(table_name_par),
orig_field_name(field_name_par), changed_during_fix_field(0), orig_field_name(field_name_par), changed_during_fix_field(0),
db_name(db_name_par), table_name(table_name_par), db_name(db_name_par), table_name(table_name_par),
field_name(field_name_par), cached_field_index(NO_CACHED_FIELD_INDEX), field_name(field_name_par), cached_field_index(NO_CACHED_FIELD_INDEX),
...@@ -130,6 +129,11 @@ Item_ident::Item_ident(THD *thd, Item_ident *item) ...@@ -130,6 +129,11 @@ Item_ident::Item_ident(THD *thd, Item_ident *item)
void Item_ident::cleanup() void Item_ident::cleanup()
{ {
DBUG_ENTER("Item_ident::cleanup");
DBUG_PRINT("enter", ("b:%s(%s), t:%s(%s), f:%s(%s)",
db_name, orig_db_name,
table_name, orig_table_name,
field_name, orig_field_name));
Item::cleanup(); Item::cleanup();
if (changed_during_fix_field) if (changed_during_fix_field)
{ {
...@@ -139,6 +143,7 @@ void Item_ident::cleanup() ...@@ -139,6 +143,7 @@ void Item_ident::cleanup()
db_name= orig_db_name; db_name= orig_db_name;
table_name= orig_table_name; table_name= orig_table_name;
field_name= orig_field_name; field_name= orig_field_name;
DBUG_VOID_RETURN;
} }
bool Item_ident::remove_dependence_processor(byte * arg) bool Item_ident::remove_dependence_processor(byte * arg)
......
...@@ -1050,7 +1050,6 @@ class select_dump :public select_to_file { ...@@ -1050,7 +1050,6 @@ class select_dump :public select_to_file {
class select_insert :public select_result { class select_insert :public select_result {
public: public:
TABLE_LIST *table_list;
TABLE *table; TABLE *table;
List<Item> *fields; List<Item> *fields;
ulonglong last_insert_id; ulonglong last_insert_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment