Loading sql/sql_base.cc +8 −2 Original line number Diff line number Diff line Loading @@ -3869,6 +3869,11 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list, #endif if (thd->set_query_id) { /* * get rw_set correct for this field so that the handler * knows that this field is involved in the query and gets * retrieved/updated */ Field *field_to_set= NULL; if (fld == view_ref_found) { Loading @@ -3879,7 +3884,8 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list, else field_to_set= fld; if (field_to_set) field_to_set->table->file->ha_set_bit_in_rw_set(field_to_set->fieldnr, field_to_set->table->file-> ha_set_bit_in_rw_set(field_to_set->fieldnr, (bool)(thd->set_query_id-1)); } } Loading Loading
sql/sql_base.cc +8 −2 Original line number Diff line number Diff line Loading @@ -3869,6 +3869,11 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list, #endif if (thd->set_query_id) { /* * get rw_set correct for this field so that the handler * knows that this field is involved in the query and gets * retrieved/updated */ Field *field_to_set= NULL; if (fld == view_ref_found) { Loading @@ -3879,7 +3884,8 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list, else field_to_set= fld; if (field_to_set) field_to_set->table->file->ha_set_bit_in_rw_set(field_to_set->fieldnr, field_to_set->table->file-> ha_set_bit_in_rw_set(field_to_set->fieldnr, (bool)(thd->set_query_id-1)); } } Loading