diff options
author | sasha@mysql.sashanet.com <> | 2001-08-11 17:08:21 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-08-11 17:08:21 -0600 |
commit | 89ac8682ddc5f130a1ef50deb655c4d9bdbe3372 (patch) | |
tree | 52622ae9741cd2f7d41b4acdd139ece525f58430 /libmysql/libmysql.c | |
parent | d725abf1b015b1e1293b1c75c2a3aa6ee22caf6f (diff) | |
parent | 60fc6764972de39cbe6fce3138d86b9e848c5634 (diff) | |
download | mariadb-git-89ac8682ddc5f130a1ef50deb655c4d9bdbe3372.tar.gz |
Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r-- | libmysql/libmysql.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 378744b9f1b..a23fa732fb6 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -94,6 +94,28 @@ static sig_handler pipe_sig_handler(int sig); static ulong mysql_sub_escape_string(CHARSET_INFO *charset_info, char *to, const char *from, ulong length); +void mysql_server_init(int argc __attribute__((unused)), + char **argv __attribute__((unused)), + const char **groups __attribute__((unused))) {} + +void mysql_server_end() {} + +my_bool mysql_thread_init() +{ +#ifdef THREAD + return my_thread_init(); +#else + return 0; +#endif +} + +void mysql_thread_end() +{ +#ifdef THREAD + my_thread_end(); +#endif +} + /* Let the user specify that we don't want SIGPIPE; This doesn't however work with threaded applications as we can have multiple read in progress. |