[Groonga-mysql-commit] mroonga/mroonga at 660dad6 [master] Revert "Use mrn::Field"

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 23 18:08:37 JST 2013


Kouhei Sutou	2013-04-23 18:08:37 +0900 (Tue, 23 Apr 2013)

  New Revision: 660dad644038a44dae139d91e6f048f9d9dcdf90
  https://github.com/mroonga/mroonga/commit/660dad644038a44dae139d91e6f048f9d9dcdf90

  Message:
    Revert "Use mrn::Field"
    
    This reverts commit eca4384ccc7b8a3d9e88e44a35b397199adc3229.
    
    mrn::Field isn't needed.

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+2 -3)
===================================================================
--- ha_mroonga.cpp    2013-04-23 18:02:48 +0900 (0481afd)
+++ ha_mroonga.cpp    2013-04-23 18:08:37 +0900 (962efd1)
@@ -71,7 +71,6 @@
 #include <mrn_external_lock.hpp>
 #include <mrn_match_escalation_threshold_scope.hpp>
 #include <mrn_multiple_column_key_codec.hpp>
-#include <mrn_field.hpp>
 #include <mrn_field_normalizer.hpp>
 #include <mrn_encoding.hpp>
 
@@ -8606,8 +8605,8 @@ bool ha_mroonga::is_enable_optimization()
 bool ha_mroonga::is_need_normalize(Field *field) const
 {
   MRN_DBUG_ENTER_METHOD();
-  mrn::Field mrn_field(ctx, ha_thd(), field);
-  bool need_normalize_p = mrn_field.is_need_normalize();
+  mrn::FieldNormalizer field_normalizer(ctx, ha_thd(), field);
+  bool need_normalize_p = field_normalizer.is_need_normalize();
   DBUG_RETURN(need_normalize_p);
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



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