null+****@clear*****
null+****@clear*****
2010年 8月 9日 (月) 10:43:43 JST
Kouhei Sutou 2010-08-09 01:43:43 +0000 (Mon, 09 Aug 2010) New Revision: 602fbc3b11a30591df8a7d278c7a533768f947cd Log: follow COMPRESS_NONE remove change. Modified files: test/unit/core/test-command-column-list.c test/unit/core/test-dump.c Modified: test/unit/core/test-command-column-list.c (+5 -5) =================================================================== --- test/unit/core/test-command-column-list.c 2010-08-09 01:15:12 +0000 (fadc50d) +++ test/unit/core/test-command-column-list.c 2010-08-09 01:43:43 +0000 (ebe9180) @@ -100,7 +100,7 @@ test_columns(void) "\"_key\"," "\"\"," "\"\"," - "\"COLUMN_SCALAR|COMPRESS_NONE\"," + "\"COLUMN_SCALAR\"," "\"Users\"," "\"ShortText\"," "[]" @@ -109,7 +109,7 @@ test_columns(void) "\"comment\"," "\"%s.0000102\"," "\"var\"," - "\"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT\"," + "\"COLUMN_SCALAR|PERSISTENT\"," "\"Users\"," "\"Text\"," "[]" @@ -118,7 +118,7 @@ test_columns(void) "\"age\"," "\"%s.0000101\"," "\"fix\"," - "\"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT\"," + "\"COLUMN_SCALAR|PERSISTENT\"," "\"Users\"," "\"UInt32\"," "[]" @@ -154,7 +154,7 @@ test_index_columns(void) "\"_key\"," "\"\"," "\"\"," - "\"COLUMN_SCALAR|COMPRESS_NONE\"," + "\"COLUMN_SCALAR\"," "\"Terms\"," "\"ShortText\"," "[]" @@ -162,7 +162,7 @@ test_index_columns(void) "[%d," "\"Sites_key\"," "\"%s.0000102\"," - "\"index\",\"COLUMN_INDEX|WITH_POSITION|COMPRESS_NONE|PERSISTENT\"," + "\"index\",\"COLUMN_INDEX|WITH_POSITION|PERSISTENT\"," "\"Terms\"," "\"Sites\"," "[\"Sites\"]" Modified: test/unit/core/test-dump.c (+4 -4) =================================================================== --- test/unit/core/test-dump.c 2010-08-09 01:15:12 +0000 (aa7c457) +++ test/unit/core/test-dump.c 2010-08-09 01:43:43 +0000 (1ba183a) @@ -319,14 +319,14 @@ void data_column_create(void) { ADD_DATA("scalar", - "column_create Blog body COLUMN_SCALAR|COMPRESS_NONE Text\n", + "column_create Blog body COLUMN_SCALAR Text\n", "Blog", "body", GRN_OBJ_COLUMN_SCALAR, "Text", NULL); ADD_DATA("vector", - "column_create Blog body COLUMN_VECTOR|COMPRESS_NONE Text\n", + "column_create Blog body COLUMN_VECTOR Text\n", "Blog", "body", GRN_OBJ_COLUMN_VECTOR, @@ -452,7 +452,7 @@ test_uvector_column(gconstpointer data) grn_obj_set_value(context, column, id, &uvector, GRN_OBJ_SET); expected = cut_take_printf("table_create Table TABLE_NO_KEY\n" - "column_create Table Column COLUMN_VECTOR|COMPRESS_NONE %s\n" + "column_create Table Column COLUMN_VECTOR %s\n" "load --table Table\n" "[\n" "[\"_id\",\"Column\"],\n" @@ -499,7 +499,7 @@ test_vector_column(gconstpointer data) grn_obj_set_value(context, column, id, &vector, GRN_OBJ_SET); expected = cut_take_printf("table_create Table TABLE_NO_KEY\n" - "column_create Table Column COLUMN_VECTOR|COMPRESS_NONE %s\n" + "column_create Table Column COLUMN_VECTOR %s\n" "load --table Table\n" "[\n" "[\"_id\",\"Column\"],\n"