[Groonga-commit] groonga/groonga [master] Revert "Remove an unused member"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 15 18:05:33 JST 2012


Kouhei Sutou	2012-11-15 18:05:33 +0900 (Thu, 15 Nov 2012)

  New Revision: 49582702229fae7b37be44cc995f19bcded0fd17
  https://github.com/groonga/groonga/commit/49582702229fae7b37be44cc995f19bcded0fd17

  Log:
    Revert "Remove an unused member"
    
    This reverts commit 6171ed4dece769c51f316d689a694888d0c51ea0.

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+6 -0)
===================================================================
--- lib/proc.c    2012-11-15 16:05:41 +0900 (fb96cd7)
+++ lib/proc.c    2012-11-15 18:05:33 +0900 (c5dbd13)
@@ -418,6 +418,12 @@ is_output_columns_format_v1(grn_ctx *ctx,
 {
   unsigned int i;
 
+  /* TODO: REMOVE ME. If new output_columns handler is marked as stable,
+     this check is removed. We need more error checks. */
+  if (grn_ctx_get_command_version(ctx) == GRN_COMMAND_VERSION_1) {
+    return GRN_TRUE;
+  }
+
   for (i = 0; i < output_columns_len; i++) {
     switch (output_columns[i]) {
     case ',' :
-------------- next part --------------
HTML����������������������������...
Download 



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