summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <konstantin@oak.local>2004-03-12 18:53:45 +0300
committerunknown <konstantin@oak.local>2004-03-12 18:53:45 +0300
commit8b11f1c10620b40c9fa654f3738daeab4369f8b6 (patch)
treefce26171177e11766a82d4982545e8f3d5e9b29c
parent4d8ebaf8ca3f002df068ed1e070ac5c591ee359a (diff)
downloadmariadb-git-8b11f1c10620b40c9fa654f3738daeab4369f8b6.tar.gz
fix to make client.c compile on windows
-rw-r--r--include/sql_common.h1
-rw-r--r--libmysql/client_settings.h1
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