diff options
author | Sergei Golubchik <serg@mysql.com> | 2009-10-30 19:13:58 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mysql.com> | 2009-10-30 19:13:58 +0100 |
commit | 319847a4ec9cbe96b2bf7fb1ff5f8d263e8d12bb (patch) | |
tree | 53d531c0319fefc2db3ea6c70ceb4648c3cb4ed9 /sql-common | |
parent | eff49de23e87dabb17b07b74f04b104748df8517 (diff) | |
download | mariadb-git-319847a4ec9cbe96b2bf7fb1ff5f8d263e8d12bb.tar.gz |
backport of dbug extensions from 6.0:
function/ syntax
glob(7) wildcards
unit tests
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 11d8b0cce4b..a16883abf31 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -2389,7 +2389,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user, for (i= 0; status && hp->h_addr_list[i]; i++) { - IF_DBUG(char ipaddr[18];) + char ipaddr[18] __attribute__((unused)); memcpy(&sock_addr.sin_addr, hp->h_addr_list[i], min(sizeof(sock_addr.sin_addr), (size_t) hp->h_length)); DBUG_PRINT("info",("Trying %s...", |