diff options
author | unknown <wax@mysql.com> | 2004-09-09 13:02:15 +0600 |
---|---|---|
committer | unknown <wax@mysql.com> | 2004-09-09 13:02:15 +0600 |
commit | 7e79b09b036fe2e7deda6182bf0bfc05ea4b009b (patch) | |
tree | f86ceee7dcff6a1498e006eef070651b3865e45a /sql-common | |
parent | c5e7051d6a8bff155cad5f0859f9c763f8206dee (diff) | |
parent | 81f7a56f1e6c55ade8dc496359735ec13bc40f92 (diff) | |
download | mariadb-git-7e79b09b036fe2e7deda6182bf0bfc05ea4b009b.tar.gz |
Merge mysql.com:/home/wax/mysql/mysql-4.1
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
sql-common/client.c:
Auto merged
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index d4352af9802..930388d2459 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -1615,7 +1615,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user, sock=0; unix_socket = 0; host=mysql->options.shared_memory_base_name; - host_info=(char*) ER(CR_SHARED_MEMORY_CONNECTION); + sprintf(host_info=buff, ER(CR_SHARED_MEMORY_CONNECTION), host); } } #endif /* HAVE_SMEM */ @@ -1679,8 +1679,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user, else { net->vio=vio_new_win32pipe(hPipe); - sprintf(host_info=buff, ER(CR_NAMEDPIPE_CONNECTION), host, - unix_socket); + sprintf(host_info=buff, ER(CR_NAMEDPIPE_CONNECTION), unix_socket); } } #endif |