Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1 sql/sql_table.cc: Auto merged
This commit is contained in:
commit
0dbf737aa2
@ -842,8 +842,7 @@ JOIN::optimize()
|
||||
for (uint i_h = const_tables; i_h < tables; i_h++)
|
||||
{
|
||||
TABLE* table_h = join_tab[i_h].table;
|
||||
if (table_h->db_type == DB_TYPE_INNODB)
|
||||
table_h->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
|
||||
table_h->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -2976,12 +2976,10 @@ int mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt)
|
||||
/* calculating table's checksum */
|
||||
ha_checksum crc= 0;
|
||||
|
||||
if (t->db_type == DB_TYPE_INNODB) {
|
||||
/* 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->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
|
||||
}
|
||||
/* 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->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
|
||||
|
||||
if (t->file->rnd_init(1))
|
||||
protocol->store_null();
|
||||
|
Loading…
x
Reference in New Issue
Block a user