diff options
author | unknown <patg@patrick-galbraiths-computer.local> | 2005-01-13 18:21:54 -0800 |
---|---|---|
committer | unknown <patg@patrick-galbraiths-computer.local> | 2005-01-13 18:21:54 -0800 |
commit | 9aaa87e909484a9c12b2a5e8913da45f8b7d0e9d (patch) | |
tree | fc2378a716a70d11b1a78d8d1676784e65559a05 /sql/ha_federated.h | |
parent | 296e12233c6ed3342bce37535c6d6b3a4f5aa264 (diff) | |
download | mariadb-git-9aaa87e909484a9c12b2a5e8913da45f8b7d0e9d.tar.gz |
progress in fixing multi-key, two-byte prefix keys.
sql/ha_federated.cc:
added code to handle multi-keys (per monty). This code still fails to compile because sql_analyse.cc's method, append_escaped only accepts two string pointers. I don't know if append_escaped will be overloaded to accept string pointer, byte/char pointer, and length, as is being passed in this example. Need to talk to devs/monty about this.
sql/ha_federated.h:
added method declaration of create_where_from_key
Diffstat (limited to 'sql/ha_federated.h')
-rwxr-xr-x | sql/ha_federated.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_federated.h b/sql/ha_federated.h index c11960a836f..ce35ce96828 100755 --- a/sql/ha_federated.h +++ b/sql/ha_federated.h @@ -75,6 +75,7 @@ private: uint convert_row_to_internal_format(byte *buf, MYSQL_ROW row); uint type_quote(int type); void quote_data(String *string1, Field *field); + bool ha_federated::create_where_from_key(String *to, KEY *key_info, const byte *key, uint key_length); public: ha_federated(TABLE *table): handler(table), |