[Groonga-commit] groonga/groonga [master] use symbol instead of number for flags.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 2日 (金) 12:50:43 JST


Kouhei Sutou	2010-07-02 03:50:43 +0000 (Fri, 02 Jul 2010)

  New Revision: 172169466b809faf6644eb41402927826a64dd84

  Log:
    use symbol instead of number for flags.

  Modified files:
    test/unit/core/test-command-select.c

  Modified: test/unit/core/test-command-select.c (+5 -5)
===================================================================
--- test/unit/core/test-command-select.c    2010-07-02 03:48:34 +0000 (7fa4f98)
+++ test/unit/core/test-command-select.c    2010-07-02 03:50:43 +0000 (bce2c0c)
@@ -178,11 +178,11 @@ test_vector_geo_point_with_query(void)
 void
 test_unmatched_output_columns(void)
 {
-  assert_send_command("table_create Answer 0 ShortText");
-  assert_send_command("column_create Answer value 0 UInt32");
-  assert_send_command("table_create Question 0 ShortText");
-  assert_send_command("column_create Question num 0 UInt32");
-  assert_send_command("column_create Question answer 0 Answer");
+  assert_send_command("table_create Answer TABLE_HASH_KEY ShortText");
+  assert_send_command("column_create Answer value COLUMN_SCALAR UInt32");
+  assert_send_command("table_create Question TABLE_HASH_KEY ShortText");
+  assert_send_command("column_create Question num COLUMN_SCALAR UInt32");
+  assert_send_command("column_create Question answer COLUMN_SCALAR Answer");
   assert_send_command("load '"
                       "["
                       "[\"_key\",\"value\"],"




Groonga-commit メーリングリストの案内
Back to archive index