diff options
author | unknown <hf@deer.(none)> | 2003-06-16 03:13:22 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-06-16 03:13:22 +0500 |
commit | 7ababc3bb43193f2e9d01267d65319291001d980 (patch) | |
tree | 7c772fd814663db46d945e901af92569e7fac238 /libmysql/client_settings.h | |
parent | fc2ee2cc137c8da9772511f4b64b3106648aff6f (diff) | |
download | mariadb-git-7ababc3bb43193f2e9d01267d65319291001d980.tar.gz |
Fix for compilation error.
Compiler can signal error when init_sigpipe_variables expands as empty place.
Had to remove all semicolons after init_sigpipe_variables
libmysql/client_settings.h:
semicolon added
sql-common/client.c:
we don't need semicolons after init_sigpipe_variables
Diffstat (limited to 'libmysql/client_settings.h')
-rw-r--r-- | libmysql/client_settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h index 8c28de73866..17e992be5b0 100644 --- a/libmysql/client_settings.h +++ b/libmysql/client_settings.h @@ -31,7 +31,7 @@ my_bool send_file_to_server(MYSQL *mysql, const char *filename); */ #if !defined(__WIN__) && defined(SIGPIPE) && !defined(THREAD) -#define init_sigpipe_variables sig_return old_signal_handler=(sig_return) 0 +#define init_sigpipe_variables sig_return old_signal_handler=(sig_return) 0; #define set_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) old_signal_handler=signal(SIGPIPE,pipe_sig_handler) #define reset_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) signal(SIGPIPE,old_signal_handler); #else |