[Groonga-commit] groonga/groonga at ea72372 [master] egn: fix a bug that SHORT_TEXT and LONG_TEXT are not handled as expected.

Back to archive index

susumu.yata null+****@clear*****
Fri Jun 19 10:29:58 JST 2015


susumu.yata	2015-06-19 10:29:58 +0900 (Fri, 19 Jun 2015)

  New Revision: ea72372cadee128635478b4698bebd31707dd115
  https://github.com/groonga/groonga/commit/ea72372cadee128635478b4698bebd31707dd115

  Message:
    egn: fix a bug that SHORT_TEXT and LONG_TEXT are not handled as expected.

  Modified files:
    lib/egn.cpp

  Modified: lib/egn.cpp (+6 -2)
===================================================================
--- lib/egn.cpp    2015-06-19 10:00:03 +0900 (85f124e)
+++ lib/egn.cpp    2015-06-19 10:29:58 +0900 (e5458f6)
@@ -2588,7 +2588,9 @@ grn_rc Expression::push_column_object(grn_obj *obj) {
       switch (column_type) {
         case GRN_OBJ_COLUMN_SCALAR: {
           switch (range) {
-            case GRN_DB_TEXT: {
+            case GRN_DB_SHORT_TEXT:
+            case GRN_DB_TEXT:
+            case GRN_DB_LONG_TEXT: {
               rc = ColumnNode<Text>::open(ctx_, obj, &node);
               break;
             }
@@ -3000,7 +3002,9 @@ grn_egn_select_output(grn_ctx *ctx, grn_obj *table,
         GRN_TEXT_PUTS(ctx, ctx->impl->outbuf, "Time");
         break;
       }
-      case GRN_DB_TEXT: {
+      case GRN_DB_SHORT_TEXT:
+      case GRN_DB_TEXT:
+      case GRN_DB_LONG_TEXT: {
         GRN_TEXT_PUTS(ctx, ctx->impl->outbuf, "Text");
         break;
       }
-------------- next part --------------
HTML����������������������������...
Download 



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