diff options
author | unknown <patg@radha.patg.net> | 2006-12-21 22:38:54 -0500 |
---|---|---|
committer | unknown <patg@radha.patg.net> | 2006-12-21 22:38:54 -0500 |
commit | 8f3e39bd4985cd6cde244c6a2eb27950ade33585 (patch) | |
tree | bd5232aefa6e8bcc963b48390635fbfb9dc441cf /storage/federated | |
parent | 4a08b64f56c55a6a2f371f20011b2297bf2f0b25 (diff) | |
download | mariadb-git-8f3e39bd4985cd6cde244c6a2eb27950ade33585.tar.gz |
WL #3031
* Various windows errors fixed
* Increased max key length for federated
include/my_time.h:
WL #3031
Windows compile errors for some platforms. JBalint helped find this fix.
sql/log_event.cc:
WL #3031
Windows compile errors on some platforms. explicite casting.
sql/sql_servers.cc:
WL #3031
Add rwlock init to sql_servers to fix hang on windows.
storage/federated/ha_federated.h:
WL #3031
Increase max key length to innodb's max (Cisco fix)
Diffstat (limited to 'storage/federated')
-rw-r--r-- | storage/federated/ha_federated.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/federated/ha_federated.h b/storage/federated/ha_federated.h index 63399e71bcd..b4882c9f9fb 100644 --- a/storage/federated/ha_federated.h +++ b/storage/federated/ha_federated.h @@ -37,6 +37,7 @@ #define FEDERATED_QUERY_BUFFER_SIZE STRING_BUFFER_USUAL_SIZE * 5 #define FEDERATED_RECORDS_IN_RANGE 2 +#define FEDERATED_MAX_KEY_LENGTH 3500 // Same as innodb /* FEDERATED_SHARE is a structure that will be shared amoung all open handlers @@ -146,7 +147,7 @@ public: uint max_supported_record_length() const { return HA_MAX_REC_LENGTH; } uint max_supported_keys() const { return MAX_KEY; } uint max_supported_key_parts() const { return MAX_REF_PARTS; } - uint max_supported_key_length() const { return MAX_KEY_LENGTH; } + uint max_supported_key_length() const { return FEDERATED_MAX_KEY_LENGTH; } /* Called in test_quick_select to determine if indexes should be used. Normally, we need to know number of blocks . For federated we need to |