summaryrefslogtreecommitdiff
path: root/storage/archive
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@ibmvm>2009-12-08 09:55:52 +0300
committerAlexander Nozdrin <alik@ibmvm>2009-12-08 09:55:52 +0300
commitfd433cfb96adcbb013b27838cd80576dff92989d (patch)
tree9e087da0ea351f94c35f6996a5e0c4c468d2333a /storage/archive
parent57fd11788e800ca016ceb50e93c0c70eec0f6dd6 (diff)
parent17fa6edf12eaddcbd80d13e603dfc8914eb2f8ea (diff)
downloadmariadb-git-fd433cfb96adcbb013b27838cd80576dff92989d.tar.gz
Auto-merge from mysql-next-mr.
Diffstat (limited to 'storage/archive')
-rw-r--r--storage/archive/ha_archive.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc
index 23fe034d9ed..2ff4a5daff5 100644
--- a/storage/archive/ha_archive.cc
+++ b/storage/archive/ha_archive.cc
@@ -981,7 +981,11 @@ int ha_archive::index_read_idx(uchar *buf, uint index, const uchar *key,
}
if (found)
+ {
+ /* notify handler that a record has been found */
+ table->status= 0;
DBUG_RETURN(0);
+ }
error:
DBUG_RETURN(rc ? rc : HA_ERR_END_OF_FILE);