Merged fix for uninitialized variables.
This commit is contained in:
commit
159866b6d3
@ -16137,6 +16137,8 @@ create_internal_tmp_table_from_heap(THD *thd, TABLE *table,
|
|||||||
const char *save_proc_info;
|
const char *save_proc_info;
|
||||||
int write_err= 0;
|
int write_err= 0;
|
||||||
DBUG_ENTER("create_internal_tmp_table_from_heap");
|
DBUG_ENTER("create_internal_tmp_table_from_heap");
|
||||||
|
if (is_duplicate)
|
||||||
|
*is_duplicate= FALSE;
|
||||||
|
|
||||||
if (table->s->db_type() != heap_hton ||
|
if (table->s->db_type() != heap_hton ||
|
||||||
error != HA_ERR_RECORD_FILE_FULL)
|
error != HA_ERR_RECORD_FILE_FULL)
|
||||||
|
@ -83,7 +83,7 @@ int select_union::send_data(List<Item> &values)
|
|||||||
*/
|
*/
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
bool is_duplicate;
|
bool is_duplicate= FALSE;
|
||||||
/* create_internal_tmp_table_from_heap will generate error if needed */
|
/* create_internal_tmp_table_from_heap will generate error if needed */
|
||||||
if (table->file->is_fatal_error(write_err, HA_CHECK_DUP) &&
|
if (table->file->is_fatal_error(write_err, HA_CHECK_DUP) &&
|
||||||
create_internal_tmp_table_from_heap(thd, table,
|
create_internal_tmp_table_from_heap(thd, table,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user