[Groonga-commit] groonga/groonga at 45f0927 [master] test: add a test for "_key, *" against TABLE_NO_KEY

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Thu Jul 9 17:19:26 JST 2015


Kouhei Sutou	2015-07-09 17:19:26 +0900 (Thu, 09 Jul 2015)

  New Revision: 45f09270fcdc1ca264a94e2723856ab3e08584e8
  https://github.com/groonga/groonga/commit/45f09270fcdc1ca264a94e2723856ab3e08584e8

  Message:
    test: add a test for "_key,*" against TABLE_NO_KEY
    
    It fails with command version 2.

  Added files:
    test/command/suite/select/output_columns/nonexistent/key_asterisk.expected
    test/command/suite/select/output_columns/nonexistent/key_asterisk.test

  Added: test/command/suite/select/output_columns/nonexistent/key_asterisk.expected (+8 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/output_columns/nonexistent/key_asterisk.expected    2015-07-09 17:19:26 +0900 (2e4c779)
@@ -0,0 +1,8 @@
+table_create Logs TABLE_NO_KEY
+[[0,0.0,0.0],true]
+column_create Logs content COLUMN_SCALAR ShortText
+[[0,0.0,0.0],true]
+column_create Logs timestamp COLUMN_SCALAR Time
+[[0,0.0,0.0],true]
+select Logs   --command_version 2   --output_columns _key,*
+[[0,0.0,0.0],[[[0],[["content","ShortText"],[null,null]]]]]

  Added: test/command/suite/select/output_columns/nonexistent/key_asterisk.test (+6 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/output_columns/nonexistent/key_asterisk.test    2015-07-09 17:19:26 +0900 (2377a11)
@@ -0,0 +1,6 @@
+table_create Logs TABLE_NO_KEY
+column_create Logs content COLUMN_SCALAR ShortText
+column_create Logs timestamp COLUMN_SCALAR Time
+
+select Logs \
+  --output_columns _key,*
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る