Merge
sql/sql_update.cc: Auto merged mysql-test/t/disabled.def: SCCS merged
This commit is contained in:
commit
ba0c548caa
@ -15,5 +15,4 @@ rpl_relayrotate : Unstable test case, bug#12429
|
|||||||
rpl_until : Unstable test case, bug#12429
|
rpl_until : Unstable test case, bug#12429
|
||||||
rpl_deadlock : Unstable test case, bug#12429
|
rpl_deadlock : Unstable test case, bug#12429
|
||||||
kill : Unstable test case, bug#9712
|
kill : Unstable test case, bug#9712
|
||||||
federated : Broken test case, bug#14272
|
|
||||||
archive_gis : The test fails on 32bit Linux
|
archive_gis : The test fails on 32bit Linux
|
||||||
|
@ -336,7 +336,7 @@ int mysql_update(THD *thd,
|
|||||||
/* If quick select is used, initialize it before retrieving rows. */
|
/* If quick select is used, initialize it before retrieving rows. */
|
||||||
if (select && select->quick && select->quick->reset())
|
if (select && select->quick && select->quick->reset())
|
||||||
goto err;
|
goto err;
|
||||||
if (used_index == MAX_KEY)
|
if (used_index == MAX_KEY || (select && select->quick))
|
||||||
init_read_record(&info,thd,table,select,0,1);
|
init_read_record(&info,thd,table,select,0,1);
|
||||||
else
|
else
|
||||||
init_read_record_idx(&info, thd, table, 1, used_index);
|
init_read_record_idx(&info, thd, table, 1, used_index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user