summaryrefslogtreecommitdiff
path: root/myisam/mi_search.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-06-26 10:23:50 +0300
committermonty@hundin.mysql.fi <>2001-06-26 10:23:50 +0300
commit85388703c400d4a952085a8ed547494bd20863a2 (patch)
treec0fdcacb616884cc66417017b1d2de4754d92d7f /myisam/mi_search.c
parent65600db56d540e11473628b6d691102be18905ee (diff)
downloadmariadb-git-85388703c400d4a952085a8ed547494bd20863a2.tar.gz
Fixed length rows should not use row checksum in MyISAM tables
Fixed bug in handling of packed MyISAM keys
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r--myisam/mi_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c
index b6e85d2c0db..b9dd8879694 100644
--- a/myisam/mi_search.c
+++ b/myisam/mi_search.c
@@ -417,7 +417,7 @@ int _mi_prefix_search(MI_INFO *info, register MI_KEYDEF *keyinfo, uchar *page,
}
else if (len > cmplen)
{
- if ((my_flag= (!(nextflag & SEARCH_PREFIX) && key_len_left>0)))
+ if ((my_flag= (!(nextflag & SEARCH_PREFIX) || key_len_left>0)))
break;
goto fix_flag;
}