Support to compile with MariaDB src code (improved comment).
parent
5a63e7c0a1
commit
f2153dbeee
|
@ -65,7 +65,7 @@
|
||||||
//MariaDB doesn't have my_getsystime function. They replaced with my_hrtime_t my_hrtime()
|
//MariaDB doesn't have my_getsystime function. They replaced with my_hrtime_t my_hrtime()
|
||||||
#if defined(MARIADB_BASE_VERSION)
|
#if defined(MARIADB_BASE_VERSION)
|
||||||
#define my_getsystime() (my_hrtime()).val
|
#define my_getsystime() (my_hrtime()).val
|
||||||
//MariaDB has a kill service that overrides thd_killed. It also has thd_killed function defined so redefine it.
|
//MariaDB has a kill service that overrides thd_killed as a macro. It also has thd_killed function defined for backwards compatibility, so we redefine it.
|
||||||
#undef thd_killed
|
#undef thd_killed
|
||||||
extern "C" int thd_killed(const MYSQL_THD thd);
|
extern "C" int thd_killed(const MYSQL_THD thd);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue