HAYASHI Kentaro
null+****@clear*****
Tue Nov 20 14:27:21 JST 2012
HAYASHI Kentaro 2012-11-20 14:27:21 +0900 (Tue, 20 Nov 2012) New Revision: c75d3d2edeac42cc6edc4a18e235949c060fd7ce https://github.com/mroonga/mroonga/commit/c75d3d2edeac42cc6edc4a18e235949c060fd7ce Log: mariadb10: fix not to typdef COST_VECT for MariaDB 10.0 MariaDB 10.0 does not have COST_VECT class definition Modified files: mrn_mysql_compat.h Modified: mrn_mysql_compat.h (+4 -2) =================================================================== --- mrn_mysql_compat.h 2012-11-20 14:23:36 +0900 (0ea9bdf) +++ mrn_mysql_compat.h 2012-11-20 14:27:21 +0900 (9225218) @@ -39,8 +39,10 @@ typedef MYSQL_ERROR Sql_condition; #endif -#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302) - typedef COST_VECT Cost_estimate; +#if defined(MRN_MARIADB_P) +# if MYSQL_VERSION_ID >= 50302 && MYSQL_VERSION_ID < 100000 +# typedef COST_VECT Cost_estimate; +# endif #endif #if MYSQL_VERSION_ID >= 50516 -------------- next part -------------- HTML����������������������������... Télécharger