[Groonga-commit] groonga/groonga [master] Use enum order

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Feb 13 23:07:29 JST 2013


Kouhei Sutou	2013-02-13 23:07:29 +0900 (Wed, 13 Feb 2013)

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

  Log:
    Use enum order

  Modified files:
    lib/db.c

  Modified: lib/db.c (+3 -3)
===================================================================
--- lib/db.c    2013-02-13 23:06:24 +0900 (89620fc)
+++ lib/db.c    2013-02-13 23:07:29 +0900 (c1af71c)
@@ -4236,12 +4236,12 @@ grn_obj_cast_bool(grn_ctx *ctx, grn_obj *src, grn_obj *dest, grn_bool addp)
   case GRN_DB_UINT64 :
     GRN_UINT64_SET(ctx, dest, GRN_BOOL_VALUE(src));
     break;
-  case GRN_DB_TIME :
-    GRN_TIME_SET(ctx, dest, GRN_BOOL_VALUE(src));
-    break;
   case GRN_DB_FLOAT :
     GRN_FLOAT_SET(ctx, dest, GRN_BOOL_VALUE(src));
     break;
+  case GRN_DB_TIME :
+    GRN_TIME_SET(ctx, dest, GRN_BOOL_VALUE(src));
+    break;
   default :
     SRC2RECORD();
   }
-------------- next part --------------
HTML����������������������������...
Download 



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