[Groonga-commit] groonga/grnxx at d46b5ce [master] Enable subexpression returning Vector<Text>.

Back to archive index

susumu.yata null+****@clear*****
Tue Dec 16 10:45:57 JST 2014


susumu.yata	2014-11-26 17:23:32 +0900 (Wed, 26 Nov 2014)

  New Revision: d46b5ceacad2fd7d00e08e732df030417dadede0
  https://github.com/groonga/grnxx/commit/d46b5ceacad2fd7d00e08e732df030417dadede0

  Message:
    Enable subexpression returning Vector<Text>.

  Modified files:
    lib/grnxx/impl/expression.cpp

  Modified: lib/grnxx/impl/expression.cpp (+4 -4)
===================================================================
--- lib/grnxx/impl/expression.cpp    2014-11-26 17:16:06 +0900 (e56fba3)
+++ lib/grnxx/impl/expression.cpp    2014-11-26 17:23:32 +0900 (211927c)
@@ -2423,10 +2423,10 @@ Node *ExpressionBuilder::create_dereference_node(
           return new VectorDereferenceNode<GeoPoint>(
               std::move(arg1), std::move(arg2), options);
         }
-//        case TEXT_DATA: {
-//          return new VectorDereferenceNode<Text>(
-//              std::move(arg1), std::move(arg2), options);
-//        }
+        case TEXT_DATA: {
+          return new VectorDereferenceNode<Text>(
+              std::move(arg1), std::move(arg2), options);
+        }
         default: {
           throw "Invalid data type";  // TODO
         }
-------------- next part --------------
HTML����������������������������...
Download 



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