WL# 2094, Federated Storage Handler. This patch fixes bug #8599, HPUX compile errors.
Testing on hp3750 shows these fixes fix the compile problems on HPUX, but I have a problem where when I run the tests, the test shows that the tables default to MyISAM!
This commit is contained in:
parent
de2fea12c3
commit
c33868e70c
@ -499,7 +499,7 @@ MYSQL_FIELD_OFFSET STDCALL mysql_field_seek(MYSQL_RES *result,
|
|||||||
MYSQL_FIELD_OFFSET offset);
|
MYSQL_FIELD_OFFSET offset);
|
||||||
MYSQL_ROW STDCALL mysql_fetch_row(MYSQL_RES *result);
|
MYSQL_ROW STDCALL mysql_fetch_row(MYSQL_RES *result);
|
||||||
unsigned long * STDCALL mysql_fetch_lengths(MYSQL_RES *result);
|
unsigned long * STDCALL mysql_fetch_lengths(MYSQL_RES *result);
|
||||||
void STDCALL cli_fetch_lengths(ulong *to, MYSQL_ROW column,
|
void STDCALL cli_fetch_lengths(unsigned long *to, MYSQL_ROW column,
|
||||||
unsigned int field_count);
|
unsigned int field_count);
|
||||||
MYSQL_FIELD * STDCALL mysql_fetch_field(MYSQL_RES *result);
|
MYSQL_FIELD * STDCALL mysql_fetch_field(MYSQL_RES *result);
|
||||||
MYSQL_RES * STDCALL mysql_list_fields(MYSQL *mysql, const char *table,
|
MYSQL_RES * STDCALL mysql_list_fields(MYSQL *mysql, const char *table,
|
||||||
|
@ -32,13 +32,16 @@
|
|||||||
FEDERATED_SHARE is a structure that will be shared amoung all open handlers
|
FEDERATED_SHARE is a structure that will be shared amoung all open handlers
|
||||||
The example implements the minimum of what you will probably need.
|
The example implements the minimum of what you will probably need.
|
||||||
*/
|
*/
|
||||||
//FIX document
|
|
||||||
typedef struct st_federated_share {
|
typedef struct st_federated_share {
|
||||||
char *table_name;
|
char *table_name;
|
||||||
char *table_base_name;
|
char *table_base_name;
|
||||||
// the primary select query to be used in rnd_init
|
/*
|
||||||
|
the primary select query to be used in rnd_init
|
||||||
|
*/
|
||||||
char *select_query;
|
char *select_query;
|
||||||
// remote host info, parse_url supplies
|
/*
|
||||||
|
remote host info, parse_url supplies
|
||||||
|
*/
|
||||||
char *scheme;
|
char *scheme;
|
||||||
char *hostname;
|
char *hostname;
|
||||||
char *username;
|
char *username;
|
||||||
@ -73,7 +76,7 @@ private:
|
|||||||
return errorcode otherwise
|
return errorcode otherwise
|
||||||
*/
|
*/
|
||||||
uint convert_row_to_internal_format(byte *buf, MYSQL_ROW row);
|
uint convert_row_to_internal_format(byte *buf, MYSQL_ROW row);
|
||||||
bool ha_federated::create_where_from_key(String *to, KEY *key_info,
|
bool create_where_from_key(String *to, KEY *key_info,
|
||||||
const byte *key, uint key_length);
|
const byte *key, uint key_length);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user