mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
Merge polly.(none):/home/kaa/src/opt/bug31742/my50-bug28550
into polly.(none):/home/kaa/src/opt/bug31742/my51-bug28550 sql/filesort.cc: SCCS merged
This commit is contained in:
commit
619bb76ba7
3 changed files with 27 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select,
|
|||
file->unlock_row();
|
||||
/* It does not make sense to read more keys in case of a fatal error */
|
||||
if (thd->net.report_error)
|
||||
DBUG_RETURN(HA_POS_ERROR);
|
||||
break;
|
||||
}
|
||||
if (quick_select)
|
||||
{
|
||||
|
|
@ -573,6 +573,9 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select,
|
|||
file->ha_rnd_end();
|
||||
}
|
||||
|
||||
if (thd->net.report_error)
|
||||
DBUG_RETURN(HA_POS_ERROR);
|
||||
|
||||
/* Signal we should use orignal column read and write maps */
|
||||
sort_form->column_bitmaps_set(save_read_set, save_write_set);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue