[Groonga-mysql-commit] mroonga/mroonga at e9f38b9 [master] mysql80: stop to use Item_field::field_type()

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jul 20 23:27:42 JST 2017


Kouhei Sutou	2017-07-20 23:27:42 +0900 (Thu, 20 Jul 2017)

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

  Message:
    mysql80: stop to use Item_field::field_type()

  Modified files:
    lib/mrn_condition_converter.cpp

  Modified: lib/mrn_condition_converter.cpp (+2 -2)
===================================================================
--- lib/mrn_condition_converter.cpp    2017-07-20 09:42:29 +0900 (b325b1a)
+++ lib/mrn_condition_converter.cpp    2017-07-20 23:27:42 +0900 (6df601d)
@@ -211,7 +211,7 @@ namespace mrn {
 
     bool convertable = false;
 
-    enum_field_types field_type = field_item->field_type();
+    enum_field_types field_type = field_item->field->type();
     NormalizedType normalized_type = normalize_field_type(field_type);
     switch (normalized_type) {
     case STRING_TYPE:
@@ -256,7 +256,7 @@ namespace mrn {
 
     bool error;
     Item *real_value_item = value_item->real_item();
-    switch (field_item->field_type()) {
+    switch (field_item->field->type()) {
     case MYSQL_TYPE_TIME:
       error = real_value_item->get_time(mysql_time);
       break;
-------------- next part --------------
HTML����������������������������...
Download 



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