You've already forked mysql-audit
mirror of
https://github.com/trellix-enterprise/mysql-audit.git
synced 2025-12-14 18:14:01 +08:00
Support to compile with MariaDB src code (improved comment).
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
//MariaDB doesn't have my_getsystime function. They replaced with my_hrtime_t my_hrtime()
|
||||
#if defined(MARIADB_BASE_VERSION)
|
||||
#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
|
||||
extern "C" int thd_killed(const MYSQL_THD thd);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user