Kouhei Sutou
null+****@clear*****
Fri Jul 6 17:36:28 JST 2018
Kouhei Sutou 2018-07-06 17:36:28 +0900 (Fri, 06 Jul 2018) New Revision: 1b2ae3a01a12e17688025769eae4dfb23ab5e9c4 https://github.com/mroonga/mroonga/commit/1b2ae3a01a12e17688025769eae4dfb23ab5e9c4 Message: mysql8: fix an inverted condition Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+1 -1) =================================================================== --- ha_mroonga.cpp 2018-07-06 17:32:38 +0900 (d75e1761) +++ ha_mroonga.cpp 2018-07-06 17:36:28 +0900 (e466bd11) @@ -5377,7 +5377,7 @@ int ha_mroonga::close() /* flush tables */ { mrn::Lock lock(&mrn_open_tables_mutex); - if (grn_hash_size(&mrn_ctx, mrn_open_tables) > 0) { + if (grn_hash_size(&mrn_ctx, mrn_open_tables) == 0) { int tmp_error = mrn_db_manager->clear(); if (tmp_error) error = tmp_error; -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180706/bfdbb903/attachment.htm