summaryrefslogtreecommitdiff
path: root/isam
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-08-12 19:22:30 +0200
committerunknown <serg@serg.mylan>2003-08-12 19:22:30 +0200
commit78f2ed2cfbdbad99eb12f77990a8cdd34ad772e7 (patch)
treeab59dd3f9143e2230c0ec1da9da759b40362a6bb /isam
parentb7efbc3fd4a73e88b5a22bef30eb46ca0d61541d (diff)
parent7e7edcf9b6486caef09dcc3bf50a2e2ca4bf0f79 (diff)
downloadmariadb-git-78f2ed2cfbdbad99eb12f77990a8cdd34ad772e7.tar.gz
Merge serg.mylan:/usr/home/serg/Abk/mysql
into serg.mylan:/usr/home/serg/Abk/mysql-4.0 isam/_search.c: Auto merged
Diffstat (limited to 'isam')
-rw-r--r--isam/_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isam/_search.c b/isam/_search.c
index 57787d61818..32492f83929 100644
--- a/isam/_search.c
+++ b/isam/_search.c
@@ -119,7 +119,7 @@ int _nisam_search(register N_INFO *info, register N_KEYDEF *keyinfo, uchar *key,
{
keypos=_nisam_get_last_key(info,keyinfo,buff,lastkey,keypos);
if ((nextflag & SEARCH_LAST) &&
- _nisam_key_cmp(keyinfo->seg, info->lastkey, key, key_len, SEARCH_FIND))
+ _nisam_key_cmp(keyinfo->seg, lastkey, key, key_len, SEARCH_FIND))
{
my_errno=HA_ERR_KEY_NOT_FOUND; /* Didn't find key */
goto err;