[Groonga-commit] groonga/groonga at b9bb081 [master] test: add a test for KEY_LARGE and reopen

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 26 11:34:51 JST 2016


Kouhei Sutou	2016-04-26 11:34:51 +0900 (Tue, 26 Apr 2016)

  New Revision: b9bb08109f3bae873615e5049066e3809c09391f
  https://github.com/groonga/groonga/commit/b9bb08109f3bae873615e5049066e3809c09391f

  Message:
    test: add a test for KEY_LARGE and reopen

  Added files:
    test/command/suite/table_create/key_large/reopen.expected
    test/command/suite/table_create/key_large/reopen.test

  Added: test/command/suite/table_create/key_large/reopen.expected (+21 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_create/key_large/reopen.expected    2016-04-26 11:34:51 +0900 (26b970e)
@@ -0,0 +1,21 @@
+table_create Users TABLE_HASH_KEY|KEY_LARGE ShortText
+[[0,0.0,0.0],true]
+load --table Users
+[
+{"_key": "Alice"},
+{"_key": "Bob"},
+{"_key": "Charlie"}
+]
+[[0,0.0,0.0],3]
+database_unmap
+[[0,0.0,0.0],true]
+dump
+table_create Users TABLE_HASH_KEY|KEY_LARGE ShortText
+
+load --table Users
+[
+["_key"],
+["Alice"],
+["Bob"],
+["Charlie"]
+]

  Added: test/command/suite/table_create/key_large/reopen.test (+15 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_create/key_large/reopen.test    2016-04-26 11:34:51 +0900 (8f045c1)
@@ -0,0 +1,15 @@
+table_create Users TABLE_HASH_KEY|KEY_LARGE ShortText
+
+load --table Users
+[
+{"_key": "Alice"},
+{"_key": "Bob"},
+{"_key": "Charlie"}
+]
+
+#@disable-logging
+thread_limit 1
+#@enable-logging
+database_unmap
+
+dump
-------------- next part --------------
HTML����������������������������...
Download 



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