diff options
author | unknown <hf@deer.(none)> | 2003-09-11 09:46:31 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-09-11 09:46:31 +0500 |
commit | d6f15e9d02d7fb33627c937ff47c948dd9ae0b2e (patch) | |
tree | 538cb9bd71ffb376946c4f646c4b2ebb67844cb1 /sql-common/client.c | |
parent | 565d92210eb23c973b0eff9796e21cec611666dc (diff) | |
download | mariadb-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 'sql-common/client.c')
-rw-r--r-- | sql-common/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |