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 | 1460e454d066c928de8f95870c72a2515d8bbc79 (patch) | |
tree | f86ceee7dcff6a1498e006eef070651b3865e45a /sql-common | |
parent | 50f9e2f58126f97d215cccbecd60c7c325922ec0 (diff) | |
parent | c325b0478d5611f395dd0d528bd33fed4485fb78 (diff) | |
download | mariadb-git-1460e454d066c928de8f95870c72a2515d8bbc79.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 |