From d6f15e9d02d7fb33627c937ff47c948dd9ae0b2e Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 11 Sep 2003 09:46:31 +0500 Subject: 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 --- sql-common/client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sql-common/client.c') diff --git a/sql-common/client.c b/sql-common/client.c index b4d875b8132..6372adb8550 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -1406,7 +1406,8 @@ static MYSQL_METHODS client_methods= cli_advanced_command, cli_mysql_store_result, cli_mysql_use_result, - cli_fetch_lengths + cli_fetch_lengths, + cli_list_fields }; MYSQL * STDCALL @@ -1432,6 +1433,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user, #ifdef HAVE_SYS_UN_H struct sockaddr_un UNIXaddr; #endif + init_sigpipe_variables DBUG_ENTER("mysql_real_connect"); LINT_INIT(host_info); -- cgit v1.2.1