[Groonga-commit] groonga/groonga [master] [shcema][table-create] NO_KEY -> HASH_KEY.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 19日 (月) 13:34:55 JST


Kouhei Sutou	2011-12-19 04:34:55 +0000 (Mon, 19 Dec 2011)

  New Revision: dfab4b5268fdb6a2eacdfd3cea8a788f3f0e4e60

  Log:
    [shcema][table-create] NO_KEY -> HASH_KEY.
    
    refs #1210

  Modified files:
    test/unit/http/test-http-schema.rb

  Modified: test/unit/http/test-http-schema.rb (+8 -6)
===================================================================
--- test/unit/http/test-http-schema.rb    2011-12-19 04:32:13 +0000 (d489946)
+++ test/unit/http/test-http-schema.rb    2011-12-19 04:34:55 +0000 (e94a986)
@@ -705,21 +705,23 @@ class HTTPSchemaTest < Test::Unit::TestCase
 
     def test_table_create_combined_symbols
       table_id = table_create("books",
-                              :flags => "TABLE_NO_KEY|KEY_NORMALIZE")
+                              :flags => "TABLE_HASH_KEY|KEY_NORMALIZE",
+                              :key_type => "ShortText")
       assert_table_list([[table_id,
                           "books",
-                          "TABLE_NO_KEY|KEY_NORMALIZE|PERSISTENT",
-                          "null",
+                          "TABLE_HASH_KEY|KEY_NORMALIZE|PERSISTENT",
+                          "ShortText",
                           "null"]])
     end
 
     def test_table_create_combined_symbols_with_whitespaces
       table_id = table_create("books",
-                              :flags => " TABLE_NO_KEY | KEY_NORMALIZE ")
+                              :flags => " TABLE_HASH_KEY | KEY_NORMALIZE ",
+                              :key_type => "ShortText")
       assert_table_list([[table_id,
                           "books",
-                          "TABLE_NO_KEY|KEY_NORMALIZE|PERSISTENT",
-                          "null",
+                          "TABLE_HASH_KEY|KEY_NORMALIZE|PERSISTENT",
+                          "ShortText",
                           "null"]])
     end
 




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