Kouhei Sutou
null+****@clear*****
Wed Apr 25 17:07:11 JST 2018
Kouhei Sutou 2018-04-25 17:07:11 +0900 (Wed, 25 Apr 2018) New Revision: 3c8a6e3140caea770056ff9e36fec08cfbf78e15 https://github.com/mroonga/mroonga/commit/3c8a6e3140caea770056ff9e36fec08cfbf78e15 Message: mariadb10.3: follow THD::db type change Modified files: mrn_mysql_compat.h Modified: mrn_mysql_compat.h (+3 -1) =================================================================== --- mrn_mysql_compat.h 2018-01-29 18:06:27 +0900 (bb51b220) +++ mrn_mysql_compat.h 2018-04-25 17:07:11 +0900 (360c324f) @@ -1,6 +1,6 @@ /* -*- c-basic-offset: 2 -*- */ /* - Copyright(C) 2011-2017 Kouhei Sutou <kou �� clear-code.com> + Copyright(C) 2011-2018 Kouhei Sutou <kou �� clear-code.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -283,6 +283,8 @@ #if MYSQL_VERSION_ID >= 50706 && !defined(MRN_MARIADB_P) # define MRN_THD_DB_PATH(thd) ((thd)->db().str) +#elif defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 100306 +# define MRN_THD_DB_PATH(thd) ((thd)->db.str) #else # define MRN_THD_DB_PATH(thd) ((thd)->db) #endif -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180425/394bea33/attachment.htm