summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorJoerg Bruehe <joerg@mysql.com>2010-03-16 20:10:45 +0100
committerJoerg Bruehe <joerg@mysql.com>2010-03-16 20:10:45 +0100
commit87c99474919f3a17ced6841f22d48f815051248c (patch)
tree5efdcd71dd0634a6ba63bab4a7b449a557d8fc6f /sql-common
parent0905a08a62c9a82af73ad92b741f6568d24fe8cb (diff)
downloadmariadb-git-87c99474919f3a17ced6841f22d48f815051248c.tar.gz
Fix a syntax error:
A variable declaration was preceded by "DBUG_PRINT()".
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 88da0242f5b..676ec82d8de 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -2350,8 +2350,8 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
(unix_socket || mysql_unix_port) &&
(!host || !strcmp(host,LOCAL_HOST)))
{
- DBUG_PRINT("info", ("Using socket"));
my_socket sock= socket(AF_UNIX, SOCK_STREAM, 0);
+ DBUG_PRINT("info", ("Using socket"));
if (sock == SOCKET_ERROR)
{
set_mysql_extended_error(mysql, CR_SOCKET_CREATE_ERROR,