From: Date: October 31 2005 2:14pm Subject: bk commit into 5.0 tree (andrey:1.2028) BUG#14381 List-Archive: http://lists.mysql.com/internals/31683 X-Bug: 14381 Message-Id: <20051031131401.658C72FD87@andrey.hristov.com> Below is the list of changes that have just been committed into a local 5.0 repository of andrey. When andrey does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2028 05/10/31 14:13:51 andrey@lmy004. +1 -0 fix for bug #14381 (Key length is limited to 255 bytes on BDB) sql/ha_berkeley.h 1.75 05/10/31 13:52:37 andrey@lmy004. +3 -0 BDB supports keylength of maximal 2^32 - use the maximum allowed by mysqld. (http://www.sleepycat.com/docs/ref/am_misc/dbsizes.html) # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: andrey # Host: lmy004. # Root: /work/mysql-5.0-bug14381 --- 1.74/sql/ha_berkeley.h 2005-10-04 06:08:54 +02:00 +++ 1.75/sql/ha_berkeley.h 2005-10-31 13:52:37 +01:00 @@ -94,6 +94,9 @@ 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; } + const key_map *keys_to_use_for_scanning() { return &key_map_full; } bool has_transactions() { return 1;}