diff options
author | wax@kishkin.ru <> | 2004-08-19 18:42:17 +0600 |
---|---|---|
committer | wax@kishkin.ru <> | 2004-08-19 18:42:17 +0600 |
commit | 5c872a7ebc4aab77f0dc6924e170f6935a43859c (patch) | |
tree | 4af03c6e7ef7cbb98bf2f209aca809e073a0f832 /sql-common | |
parent | 28815f6d41575ae6f34552799cfa830bb422d17d (diff) | |
download | mariadb-git-5c872a7ebc4aab77f0dc6924e170f6935a43859c.tar.gz |
Change information text in pipe and shared memory
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 738904657cc..289944d35a0 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -1613,7 +1613,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 */ @@ -1677,8 +1677,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 |