mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 07:15:33 +02:00
Fix a syntax error:
A variable declaration was preceded by "DBUG_PRINT()". sql-common/client.c: Thou shalt not declare a variable after an executable statement (and "DBUG_PRINT()" is executable).
This commit is contained in:
parent
4aa12dd34c
commit
f4013d1302
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue