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:
marko 2008-12-01 16:52:16 +00:00
parent e34c6d563f
commit 100b7265da

View file

@ -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: