Commit 100b7265 authored by marko's avatar marko

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).
parent e34c6d56
...@@ -401,7 +401,11 @@ row_purge_remove_sec_if_poss_low( ...@@ -401,7 +401,11 @@ row_purge_remove_sec_if_poss_low(
switch (search_result) { switch (search_result) {
case ROW_NOT_FOUND: case ROW_NOT_FOUND:
/* Index entry does not exist, nothing to do. */
return(TRUE);
case ROW_FOUND: case ROW_FOUND:
/* The index entry exists and is in the buffer pool;
no need to use the insert/delete buffer. */
break; break;
case ROW_BUFFERED: case ROW_BUFFERED:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment