From f2153dbeeeded4f2ee9074e0c0721d7e2a3bb506 Mon Sep 17 00:00:00 2001 From: Guy Lichtman Date: Wed, 26 Feb 2014 15:41:49 +0200 Subject: [PATCH] Support to compile with MariaDB src code (improved comment). --- include/mysql_inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mysql_inc.h b/include/mysql_inc.h index 069f5a2..9fef83a 100644 --- a/include/mysql_inc.h +++ b/include/mysql_inc.h @@ -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