summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-11-03 22:42:25 +0200
committerunknown <monty@mysql.com>2005-11-03 22:42:25 +0200
commitd8f1fdc48d5f4ac07eda2dff3e387152636f80a9 (patch)
tree736f3d9834f9c3cd41d1cf5e5ccfecfdc2fc929d /sql/ha_berkeley.h
parent77afc1690053e16ff7fb83d866199a095f6e8208 (diff)
downloadmariadb-git-d8f1fdc48d5f4ac07eda2dff3e387152636f80a9.tar.gz
Fixes during review of new code
Destroy LOCK_uuid_generator sql/ha_berkeley.h: Fix portability problem (warnings from gcc on 32 bit linux) sql/ha_ndbcluster.cc: Fixed portability problem sql/mysqld.cc: Destroy LOCK_uuid_generator
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 99e13286554..16e4db59c10 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 4294967295L; }
- uint max_supported_key_part_length() const { return 4294967295L; }
+ uint max_supported_key_length() const { return UINT_MAX32; }
+ uint max_supported_key_part_length() const { return UINT_MAX32; }
const key_map *keys_to_use_for_scanning() { return &key_map_full; }
bool has_transactions() { return 1;}