summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-11-03 21:33:11 +0200
committermonty@hundin.mysql.fi <>2001-11-03 21:33:11 +0200
commitccce9d031fa2305a8b108cc49c7a628e7279c8b8 (patch)
treea20ca6b4d7423d135752caf32d8b09358147421e /include/mysql.h
parentabb7df2de126c96f6c8e7525f83a9fb1ac97f208 (diff)
downloadmariadb-git-ccce9d031fa2305a8b108cc49c7a628e7279c8b8.tar.gz
Added STDCALL to mysql_sever and mysql_thread variables
Merged error messages with 3.23.44 Fixed bug with DATA DIRECTORY on windows
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 5158fef6045..34b73bd5a7c 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -253,15 +253,15 @@ typedef struct st_mysql_manager
/* Set up and bring down the server; to ensure that applications will
* work when linked against either the standard client library or the
* embedded server library, these functions should be called. */
-int mysql_server_init(int argc, char **argv, char **groups);
-void mysql_server_end(void);
+int STDCALL mysql_server_init(int argc, char **argv, char **groups);
+void STDCALL mysql_server_end(void);
/* Set up and bring down a thread; these function should be called
* for each thread in an application which opens at least one MySQL
* connection. All uses of the connection(s) should be between these
* function calls. */
-my_bool mysql_thread_init(void);
-void mysql_thread_end(void);
+my_bool STDCALL mysql_thread_init(void);
+void STDCALL mysql_thread_end(void);
/* Functions to get information from the MYSQL and MYSQL_RES structures */
/* Should definitely be used if one uses shared libraries */
@@ -414,8 +414,8 @@ MYSQL * STDCALL mysql_connect(MYSQL *mysql, const char *host,
int STDCALL mysql_create_db(MYSQL *mysql, const char *DB);
int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB);
#define mysql_reload(mysql) mysql_refresh((mysql),REFRESH_GRANT)
-#define HAVE_MYSQL_REAL_CONNECT
#endif
+#define HAVE_MYSQL_REAL_CONNECT
/*
The following functions are mainly exported because of mysqlbinlog;