mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Portability fix in mysqlbinlog.cc (include my_pthread.h)
Clean up 'unused argument' warnings Add extern "C" { ... } in my_pthread.h
This commit is contained in:
@ -247,10 +247,10 @@ static int eval_result = 0;
|
||||
|
||||
/* Disable functions that only exist in MySQL 4.0 */
|
||||
#if MYSQL_VERSION_ID < 40000
|
||||
static void mysql_enable_rpl_parse(MYSQL* mysql) {}
|
||||
static void mysql_disable_rpl_parse(MYSQL* mysql) {}
|
||||
static int mysql_rpl_parse_enabled(MYSQL* mysql) { return 1; }
|
||||
static int mysql_rpl_probe(MYSQL *mysql) { return 1; }
|
||||
static void mysql_enable_rpl_parse(MYSQL* mysql __attribute__((unused))) {}
|
||||
static void mysql_disable_rpl_parse(MYSQL* mysql __attribute__((unused))) {}
|
||||
static int mysql_rpl_parse_enabled(MYSQL* mysql __attribute__((unused))) { return 1; }
|
||||
static int mysql_rpl_probe(MYSQL *mysql __attribute__((unused))) { return 1; }
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user