diff options
Diffstat (limited to 'include/mysql.h')
-rw-r--r-- | include/mysql.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h index 12c55edd6f5..f2901671749 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -71,6 +71,8 @@ extern char *mysql_unix_port; typedef struct st_mysql_field { char *name; /* Name of column */ char *table; /* Table of column if column was a field */ + char *org_table; /* Org table name if table was an alias */ + char *db; /* Database for table */ char *def; /* Default value (set by mysql_list_fields) */ unsigned long length; /* Width of column */ unsigned long max_length; /* Max width of selected set */ @@ -227,7 +229,7 @@ typedef struct st_mysql_res { /* Set up and bring down the server; to ensure that applications will * work when linked against either the standard client library or the * embedded server library, these functions should be called. */ -int mysql_server_init(int argc, const char **argv, const char **groups); +int mysql_server_init(int argc, char **argv, char **groups); void mysql_server_end(void); /* Set up and bring down a thread; these function should be called |