1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

WL 1682: After review fixes + update bitvector class + bitvector test

cases + bug fixes
This commit is contained in:
mronstrom@mysql.com
2005-05-02 15:45:33 +02:00
parent 21347433cf
commit f7cd6b8aa1
19 changed files with 772 additions and 209 deletions

View File

@@ -3826,8 +3826,7 @@ copy_data_between_tables(TABLE *from,TABLE *to,
current query id
*/
to->file->ha_set_all_bits_in_write_set();
from->file->ha_set_all_bits_in_read_set();
from->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS); //To be removed RONM
from->file->ha_retrieve_all_cols();
init_read_record(&info, thd, from, (SQL_SELECT *) 0, 1,1);
if (ignore ||
handle_duplicates == DUP_REPLACE)
@@ -3990,11 +3989,11 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt)
/* calculating table's checksum */
ha_checksum crc= 0;
/* InnoDB must be told explicitly to retrieve all columns, because
this function does not set field->query_id in the columns to the
current query id */
t->file->ha_set_all_bits_in_read_set();
t->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
/*
Set all bits in read set and inform InnoDB that we are reading all
fields
*/
t->file->ha_retrieve_all_cols();
if (t->file->ha_rnd_init(1))
protocol->store_null();