diff options
author | unknown <serg@serg.mylan> | 2004-06-30 10:40:15 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-06-30 10:40:15 +0200 |
commit | 7b1b7bc6669eeeffc107ecb80cbd5513106bd098 (patch) | |
tree | 144b9398823e84c91d2dedbcfd4046720e29f314 /sql/ha_berkeley.h | |
parent | 3b95283baaf7afc0e865b54204061afa3c3f461e (diff) | |
download | mariadb-git-7b1b7bc6669eeeffc107ecb80cbd5513106bd098.tar.gz |
fowwlowup fixes for index_flags()
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r-- | sql/ha_berkeley.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h index 52116710726..efc85d3928e 100644 --- a/sql/ha_berkeley.h +++ b/sql/ha_berkeley.h @@ -97,8 +97,7 @@ class ha_berkeley: public handler ulong index_flags(uint idx, uint part) const { ulong flags=HA_READ_NEXT | HA_READ_PREV; - if (part == (uint)~0 || - table->key_info[idx].key_part[part].field->key_type() != HA_KEYTYPE_TEXT) + if (table->key_info[idx].key_part[part].field->key_type() != HA_KEYTYPE_TEXT) flags|= HA_READ_ORDER | HA_KEYREAD_ONLY | HA_READ_RANGE; return flags; } |