mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
row_search_for_mysql(): Never try semi-consistent read in unique searches.
They are only useful in table scans. (Bug #52663)
This commit is contained in:
parent
5571d4aef9
commit
30b15fae14
8 changed files with 129 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2010-04-26 The InnoDB Team
|
||||
|
||||
* row/row0sel.c:
|
||||
Fix Bug#52663 Lost update incrementing column value under
|
||||
READ COMMITTED isolation level
|
||||
|
||||
2010-04-22 The InnoDB Team
|
||||
|
||||
* include/dict0boot.h, dict/dict0boot.c:
|
||||
|
|
|
|||
|
|
@ -4027,6 +4027,7 @@ no_gap_lock:
|
|||
case DB_LOCK_WAIT:
|
||||
if (UNIV_LIKELY(prebuilt->row_read_type
|
||||
!= ROW_READ_TRY_SEMI_CONSISTENT)
|
||||
|| unique_search
|
||||
|| index != clust_index) {
|
||||
|
||||
goto lock_wait_or_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue