summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2005-11-01 19:37:59 +0100
committerunknown <andrey@lmy004.>2005-11-01 19:37:59 +0100
commit778088a5468aed20994a50aeb3556bc4530fbc53 (patch)
tree087c28f199d9ce9940b7756447619145023cab20 /sql/ha_berkeley.h
parentd5a81fdc2589ed2e96aee94360233214930f9409 (diff)
downloadmariadb-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.h4
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;}