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
commit6fd3866c6c104f8bc991d71583e627ae6fabe0ab (patch)
tree9e087da0ea351f94c35f6996a5e0c4c468d2333a /storage/archive
parent04fe40393d9d0ef81cc6a770bda67ab67fe4154e (diff)
parenta8e80f3146779c9783aa6d29d5f8ffef7a4a9f69 (diff)
downloadmariadb-git-6fd3866c6c104f8bc991d71583e627ae6fabe0ab.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);