diff --git a/include/audit_handler.h b/include/audit_handler.h index 4d8485d..abbab34 100644 --- a/include/audit_handler.h +++ b/include/audit_handler.h @@ -32,6 +32,10 @@ #define my_rwlock_init(lock, unused) native_rw_init(lock) #endif +#if (!defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80031) +using TABLE_LIST = Table_ref; +#endif + class THD; #define MAX_NUM_QUERY_TABLE_ELEM 100