diff options
author | unknown <serg@serg.mylan> | 2004-01-21 23:29:17 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-01-21 23:29:17 +0100 |
commit | 4ed2ba5f8ab0bd1ec59f96a927b70c94732a0435 (patch) | |
tree | 129bb0d5f173f2b8cd7a76e4027d1dc587457261 /myisam | |
parent | 344bdd2af466299543305809a32640462343a7b9 (diff) | |
download | mariadb-git-4ed2ba5f8ab0bd1ec59f96a927b70c94732a0435.tar.gz |
two more bugfixes for "space stripping in MyISAM indexes"
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c index c6ee18a8477..b98ee351195 100644 --- a/myisam/mi_search.c +++ b/myisam/mi_search.c @@ -847,7 +847,7 @@ int _mi_key_cmp(register MI_KEYSEG *keyseg, register uchar *a, full_b_length=b_length; next_key_length=key_length-b_length-pack_length; - if (!(nextflag & (SEARCH_PREFIX | SEARCH_UPDATE))) + if ((nextflag & (SEARCH_FIND | SEARCH_UPDATE)) == SEARCH_FIND) { while (a_length && a[a_length-1] == ' ') a_length--; |