summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorwax@mysql.com <>2004-09-09 13:02:15 +0600
committerwax@mysql.com <>2004-09-09 13:02:15 +0600
commitda53ad65b0430ec9a658656304368a3d37a67dfc (patch)
treef86ceee7dcff6a1498e006eef070651b3865e45a /sql-common
parent8cb8c1e15a2e3b597715ca06cb3d5ecb94f1b218 (diff)
parent589c485aa7f8c68fd20a529bd999b11a1263638d (diff)
downloadmariadb-git-da53ad65b0430ec9a658656304368a3d37a67dfc.tar.gz
Merge mysql.com:/home/wax/mysql/mysql-4.1
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c5
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