mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge bb-10.2-ext into 10.3
This commit is contained in:
@ -1541,7 +1541,7 @@ end:
|
||||
head->file= org_file;
|
||||
|
||||
/* Restore head->read_set (and write_set) to what they had before the call */
|
||||
head->column_bitmaps_set(save_read_set, save_write_set);
|
||||
head->column_bitmaps_set(save_read_set, save_write_set, save_vcol_set);
|
||||
|
||||
if (reset())
|
||||
{
|
||||
@ -6730,7 +6730,7 @@ static TRP_RANGE *get_key_scans_params(PARAM *param, SEL_TREE *tree,
|
||||
bool update_tbl_stats,
|
||||
double read_time)
|
||||
{
|
||||
uint idx, best_idx;
|
||||
uint idx, UNINIT_VAR(best_idx);
|
||||
SEL_ARG *key_to_read= NULL;
|
||||
ha_rows UNINIT_VAR(best_records); /* protected by key_to_read */
|
||||
uint UNINIT_VAR(best_mrr_flags), /* protected by key_to_read */
|
||||
@ -11387,7 +11387,10 @@ int QUICK_RANGE_SELECT::reset()
|
||||
buf_size/= 2;
|
||||
}
|
||||
if (!mrr_buf_desc)
|
||||
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
|
||||
{
|
||||
error= HA_ERR_OUT_OF_MEM;
|
||||
goto err;
|
||||
}
|
||||
|
||||
/* Initialize the handler buffer. */
|
||||
mrr_buf_desc->buffer= mrange_buff;
|
||||
|
Reference in New Issue
Block a user