[Groonga-mysql-commit] mroonga/mroonga at d536d6d [master] storage: don't use pushed cond when no MATCH AGAINST exists

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Aug 18 19:23:31 JST 2013


Kouhei Sutou	2013-08-18 19:23:31 +0900 (Sun, 18 Aug 2013)

  New Revision: d536d6d7fa41922be6c415b56d1ef15f4df7e9c5
  https://github.com/mroonga/mroonga/commit/d536d6d7fa41922be6c415b56d1ef15f4df7e9c5

  Message:
    storage: don't use pushed cond when no MATCH AGAINST exists

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-08-18 19:14:43 +0900 (10d9748)
+++ ha_mroonga.cpp    2013-08-18 19:23:31 +0900 (6946718)
@@ -8008,7 +8008,7 @@ const Item *ha_mroonga::storage_cond_push(const Item *cond)
   const Item *reminder_cond = cond;
   if (!pushed_cond) {
     mrn::ConditionConverter converter(ctx, grn_table, true);
-    if (converter.is_convertable(cond)) {
+    if (converter.is_convertable(cond) && converter.find_match_against(cond)) {
       reminder_cond = NULL;
     }
   }
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-mysql-commit mailing list
Back to archive index