[Groonga-commit] groonga/groonga at 8e82c9f [master] dump: remove needless last new line

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 26 18:46:42 JST 2015


Kouhei Sutou	2015-01-26 18:46:42 +0900 (Mon, 26 Jan 2015)

  New Revision: 8e82c9f45ca2a944a45fcca10492c441e8461343
  https://github.com/groonga/groonga/commit/8e82c9f45ca2a944a45fcca10492c441e8461343

  Message:
    dump: remove needless last new line

  Modified files:
    src/groonga.c
    test/command/suite/column_rename/index/fulltext.expected
    test/command/suite/column_rename/index/multiple_columns.expected
    test/command/suite/column_rename/index/tag.expected
    test/command/suite/delete/reference/cross.expected
    test/command/suite/delete/reference/vector_type.expected
    test/command/suite/dump/record/table_tokenizer_index_column.expected
    test/command/suite/dump/record/vector_long_key.expected
    test/command/suite/dump/record/weight_vector_type.expected
    test/command/suite/table_create/normalizer/auto/utf8.expected
    test/command/suite/table_create/normalizer/nfkc51/utf8.expected
    test/command/suite/table_create/normalizer/nonexistent.expected
    test/command/suite/truncate/column/index.expected
    test/command/suite/truncate/column/scalar_fix_size.expected
    test/command/suite/truncate/column/scalar_variable_size.expected

  Modified: src/groonga.c (+0 -3)
===================================================================
--- src/groonga.c    2015-01-26 18:21:39 +0900 (ac432bf)
+++ src/groonga.c    2015-01-26 18:46:42 +0900 (2133400)
@@ -295,9 +295,6 @@ s_output_raw(grn_ctx *ctx, int flags, FILE *stream)
   if (flags & GRN_CTX_TAIL) {
     grn_obj *command;
 
-    if (chunk_size > 0) {
-      fputc('\n', stream);
-    }
     fflush(stream);
 
     command = GRN_CTX_USER_DATA(ctx)->ptr;

  Modified: test/command/suite/column_rename/index/fulltext.expected (+0 -1)
===================================================================
--- test/command/suite/column_rename/index/fulltext.expected    2015-01-26 18:21:39 +0900 (1c835fe)
+++ test/command/suite/column_rename/index/fulltext.expected    2015-01-26 18:46:42 +0900 (8bdd4e3)
@@ -31,7 +31,6 @@ load --table Terms
 ["groonga"],
 ["is"]
 ]
-
 select Memos --query "content:@groonga"
 [
   [

  Modified: test/command/suite/column_rename/index/multiple_columns.expected (+0 -1)
===================================================================
--- test/command/suite/column_rename/index/multiple_columns.expected    2015-01-26 18:21:39 +0900 (e727c34)
+++ test/command/suite/column_rename/index/multiple_columns.expected    2015-01-26 18:46:42 +0900 (707d08c)
@@ -34,7 +34,6 @@ load --table Terms
 ["groonga"],
 ["is"]
 ]
-
 select Memos --query "content:@groonga"
 [
   [

  Modified: test/command/suite/column_rename/index/tag.expected (+0 -1)
===================================================================
--- test/command/suite/column_rename/index/tag.expected    2015-01-26 18:21:39 +0900 (2663360)
+++ test/command/suite/column_rename/index/tag.expected    2015-01-26 18:46:42 +0900 (1d1b4ab)
@@ -28,7 +28,6 @@ load --table Memos
 ["_key","tag"],
 ["Groonga is fast.","groonga"]
 ]
-
 select Memos --query "tag:@groonga"
 [
   [

  Modified: test/command/suite/delete/reference/cross.expected (+0 -1)
===================================================================
--- test/command/suite/delete/reference/cross.expected    2015-01-26 18:21:39 +0900 (4acb7cd)
+++ test/command/suite/delete/reference/cross.expected    2015-01-26 18:46:42 +0900 (e6634bf)
@@ -37,4 +37,3 @@ load --table URLs
 ["http://mroonga.org/",""],
 ["http://ranguba.org/",""]
 ]
-

  Modified: test/command/suite/delete/reference/vector_type.expected (+0 -1)
===================================================================
--- test/command/suite/delete/reference/vector_type.expected    2015-01-26 18:21:39 +0900 (34195b3)
+++ test/command/suite/delete/reference/vector_type.expected    2015-01-26 18:46:42 +0900 (a7d2b8c)
@@ -37,4 +37,3 @@ load --table URLs
 ["http://mroonga.org/",""],
 ["http://ranguba.org/",""]
 ]
-

  Modified: test/command/suite/dump/record/table_tokenizer_index_column.expected (+0 -1)
===================================================================
--- test/command/suite/dump/record/table_tokenizer_index_column.expected    2015-01-26 18:21:39 +0900 (9032cd8)
+++ test/command/suite/dump/record/table_tokenizer_index_column.expected    2015-01-26 18:46:42 +0900 (191e78b)
@@ -55,4 +55,3 @@ load --table Words
 ["Raccoon",0],
 ["Music",0]
 ]
-

  Modified: test/command/suite/dump/record/vector_long_key.expected (+0 -1)
===================================================================
--- test/command/suite/dump/record/vector_long_key.expected    2015-01-26 18:21:39 +0900 (f2e593e)
+++ test/command/suite/dump/record/vector_long_key.expected    2015-01-26 18:46:42 +0900 (4fa11bd)
@@ -23,4 +23,3 @@ load --table Users
 ["_key","tags"],
 ["alice",["long (larger than 24byte)"]]
 ]
-

  Modified: test/command/suite/dump/record/weight_vector_type.expected (+0 -1)
===================================================================
--- test/command/suite/dump/record/weight_vector_type.expected    2015-01-26 18:21:39 +0900 (89ffe4b)
+++ test/command/suite/dump/record/weight_vector_type.expected    2015-01-26 18:46:42 +0900 (e5bee3f)
@@ -21,4 +21,3 @@ load --table Memos
 ["_key","tags"],
 ["Groonga is fast",[{"groonga":100},{"full text search":10}]]
 ]
-

  Modified: test/command/suite/table_create/normalizer/auto/utf8.expected (+0 -1)
===================================================================
--- test/command/suite/table_create/normalizer/auto/utf8.expected    2015-01-26 18:21:39 +0900 (d06bbbc)
+++ test/command/suite/table_create/normalizer/auto/utf8.expected    2015-01-26 18:46:42 +0900 (7ad19ef)
@@ -58,4 +58,3 @@ load --table Movies
 [1,"Seven Samurai"],
 [2,"The Last Samurai"]
 ]
-

  Modified: test/command/suite/table_create/normalizer/nfkc51/utf8.expected (+0 -1)
===================================================================
--- test/command/suite/table_create/normalizer/nfkc51/utf8.expected    2015-01-26 18:21:39 +0900 (d454184)
+++ test/command/suite/table_create/normalizer/nfkc51/utf8.expected    2015-01-26 18:46:42 +0900 (9763725)
@@ -58,4 +58,3 @@ load --table Movies
 [1,"Seven Samurai"],
 [2,"The Last Samurai"]
 ]
-

  Modified: test/command/suite/table_create/normalizer/nonexistent.expected (+0 -1)
===================================================================
--- test/command/suite/table_create/normalizer/nonexistent.expected    2015-01-26 18:21:39 +0900 (d97e89e)
+++ test/command/suite/table_create/normalizer/nonexistent.expected    2015-01-26 18:46:42 +0900 (4d09d5b)
@@ -58,4 +58,3 @@ load --table Movies
 [1,"Seven Samurai"],
 [2,"The Last Samurai"]
 ]
-

  Modified: test/command/suite/truncate/column/index.expected (+0 -1)
===================================================================
--- test/command/suite/truncate/column/index.expected    2015-01-26 18:21:39 +0900 (e051085)
+++ test/command/suite/truncate/column/index.expected    2015-01-26 18:46:42 +0900 (84f0c57)
@@ -109,4 +109,3 @@ load --table Terms
 ["hello"],
 ["world"]
 ]
-

  Modified: test/command/suite/truncate/column/scalar_fix_size.expected (+0 -2)
===================================================================
--- test/command/suite/truncate/column/scalar_fix_size.expected    2015-01-26 18:21:39 +0900 (89a2c62)
+++ test/command/suite/truncate/column/scalar_fix_size.expected    2015-01-26 18:46:42 +0900 (1af60b9)
@@ -20,7 +20,6 @@ load --table Logs
 [1,11,"Hello"],
 [2,22,"World"]
 ]
-
 truncate Logs.id
 [[0,0.0,0.0],true]
 dump
@@ -33,4 +32,3 @@ load --table Logs
 [1,0,"Hello"],
 [2,0,"World"]
 ]
-

  Modified: test/command/suite/truncate/column/scalar_variable_size.expected (+0 -2)
===================================================================
--- test/command/suite/truncate/column/scalar_variable_size.expected    2015-01-26 18:21:39 +0900 (2bb2d28)
+++ test/command/suite/truncate/column/scalar_variable_size.expected    2015-01-26 18:46:42 +0900 (7f7ecf3)
@@ -20,7 +20,6 @@ load --table Logs
 [1,11,"Hello"],
 [2,22,"World"]
 ]
-
 truncate Logs.message
 [[0,0.0,0.0],true]
 dump
@@ -33,4 +32,3 @@ load --table Logs
 [1,11,""],
 [2,22,""]
 ]
-
-------------- next part --------------
HTML����������������������������...
Download 



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