mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
branches/innodb+: row_purge_remove_sec_if_poss_low(): If the index entry
does not exist, return TRUE without retrying unbuffered operation (which should notice the same).
This commit is contained in:
parent
e34c6d563f
commit
100b7265da
1 changed files with 4 additions and 0 deletions
|
@ -401,7 +401,11 @@ row_purge_remove_sec_if_poss_low(
|
|||
|
||||
switch (search_result) {
|
||||
case ROW_NOT_FOUND:
|
||||
/* Index entry does not exist, nothing to do. */
|
||||
return(TRUE);
|
||||
case ROW_FOUND:
|
||||
/* The index entry exists and is in the buffer pool;
|
||||
no need to use the insert/delete buffer. */
|
||||
break;
|
||||
|
||||
case ROW_BUFFERED:
|
||||
|
|
Loading…
Reference in a new issue