diff options
author | konstantin@oak.local <> | 2004-03-12 18:53:45 +0300 |
---|---|---|
committer | konstantin@oak.local <> | 2004-03-12 18:53:45 +0300 |
commit | 001ad875547e9551958f9696ecb13544606ef895 (patch) | |
tree | fce26171177e11766a82d4982545e8f3d5e9b29c | |
parent | 8ad684adb9a75dc841c0b2edd7e1686b76d47f09 (diff) | |
download | mariadb-git-001ad875547e9551958f9696ecb13544606ef895.tar.gz |
fix to make client.c compile on windows
-rw-r--r-- | include/sql_common.h | 1 | ||||
-rw-r--r-- | libmysql/client_settings.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/sql_common.h b/include/sql_common.h index fef573f7450..cde53786f83 100644 --- a/include/sql_common.h +++ b/include/sql_common.h @@ -38,6 +38,7 @@ cli_advanced_command(MYSQL *mysql, enum enum_server_command command, void set_stmt_errmsg(MYSQL_STMT * stmt, const char *err, int errcode, const char *sqlstate); +void set_mysql_error(MYSQL *mysql, int errcode, const char *sqlstate); #ifdef __cplusplus } #endif diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h index cf5219bae59..e4475d76958 100644 --- a/libmysql/client_settings.h +++ b/libmysql/client_settings.h @@ -25,7 +25,6 @@ sig_handler pipe_sig_handler(int sig __attribute__((unused))); my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_free); void read_user_name(char *name); my_bool send_file_to_server(MYSQL *mysql, const char *filename); -void set_mysql_error(MYSQL *mysql, int errcode, const char *sqlstate); /* Let the user specify that we don't want SIGPIPE; This doesn't however work |