mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
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
This commit is contained in:
parent
296e12233c
commit
9aaa87e909
2 changed files with 140 additions and 13 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue