[Groonga-mysql-commit] mroonga/mroonga at da93185 [master] storage: reduce needless convertable check on cond_push

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 20 10:54:44 JST 2013


Kouhei Sutou	2013-12-20 10:54:44 +0900 (Fri, 20 Dec 2013)

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

  Message:
    storage: reduce needless convertable check on cond_push

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-12-20 10:11:20 +0900 (6148422)
+++ ha_mroonga.cpp    2013-12-20 10:54:44 +0900 (5ee7cf5)
@@ -7894,7 +7894,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) && converter.find_match_against(cond)) {
+    if (converter.find_match_against(cond) && converter.is_convertable(cond)) {
       reminder_cond = NULL;
     }
   }
-------------- next part --------------
HTML����������������������������...
Download 



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