summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-09-11 09:46:31 +0500
committerunknown <hf@deer.(none)>2003-09-11 09:46:31 +0500
commitd6f15e9d02d7fb33627c937ff47c948dd9ae0b2e (patch)
tree538cb9bd71ffb376946c4f646c4b2ebb67844cb1 /libmysql
parent565d92210eb23c973b0eff9796e21cec611666dc (diff)
downloadmariadb-git-d6f15e9d02d7fb33627c937ff47c948dd9ae0b2e.tar.gz
SCRUM
embedded&client library some fixes: zero at the end of the data added mysql_list_fields became 'virtual' include/mysql.h: mysql_list_fields became 'virtual' libmysql/client_settings.h: in client library we need proper implementation for list_fields libmysql/libmysql.c: implementation for remote server libmysqld/lib_sql.cc: we still need zero at the end of the data in client (see mysql.cc). I feel it should be changed libmysqld/libmysqld.c: implementation for embedded server sql-common/client.c: cli_list_fields member set for client library sql/client_settings.h: we don't need mysql_list_fields in mini_client code
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/client_settings.h2
-rw-r--r--libmysql/libmysql.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h
index 43f341c7b1c..9cafd7182d0 100644
--- a/libmysql/client_settings.h
+++ b/libmysql/client_settings.h
@@ -41,3 +41,5 @@ my_bool send_file_to_server(MYSQL *mysql, const char *filename);
#define reset_sigpipe(mysql)
#endif
+MYSQL_RES * STDCALL cli_list_fields(MYSQL *mysql, const char *table, const char *wild);
+
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 0a9e1114fc5..3058efb83cb 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -974,7 +974,7 @@ mysql_list_tables(MYSQL *mysql, const char *wild)
**************************************************************************/
MYSQL_RES * STDCALL
-mysql_list_fields(MYSQL *mysql, const char *table, const char *wild)
+cli_list_fields(MYSQL *mysql, const char *table, const char *wild)
{
MYSQL_RES *result;
MYSQL_DATA *query;