diff options
author | unknown <andrey@lmy004.> | 2005-11-01 19:37:59 +0100 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2005-11-01 19:37:59 +0100 |
commit | 778088a5468aed20994a50aeb3556bc4530fbc53 (patch) | |
tree | 087c28f199d9ce9940b7756447619145023cab20 /sql/ha_berkeley.h | |
parent | d5a81fdc2589ed2e96aee94360233214930f9409 (diff) | |
download | mariadb-git-778088a5468aed20994a50aeb3556bc4530fbc53.tar.gz |
fix for bug #14381
(BDB keylength limitted to 255)
mysql-test/r/bdb.result:
fix bdb test after fixing the maximal length of BDB keys to 2^32-1
sql/ha_berkeley.h:
use the maximal possible length of 2^32 - 1
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r-- | sql/ha_berkeley.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h index c747b4eef81..99e13286554 100644 --- a/sql/ha_berkeley.h +++ b/sql/ha_berkeley.h @@ -94,8 +94,8 @@ class ha_berkeley: public handler uint max_supported_keys() const { return MAX_KEY-1; } uint extra_rec_buf_length() { return BDB_HIDDEN_PRIMARY_KEY_LENGTH; } ha_rows estimate_rows_upper_bound(); - uint max_supported_key_length() const { return MAX_KEY_LENGTH; } - uint max_supported_key_part_length() const { return MAX_KEY_LENGTH; } + uint max_supported_key_length() const { return 4294967295L; } + uint max_supported_key_part_length() const { return 4294967295L; } const key_map *keys_to_use_for_scanning() { return &key_map_full; } bool has_transactions() { return 1;} |