[Groonga-commit] groonga/groonga at f22255c [master] grn_pat: add a command test for #415

Back to archive index

susumu.yata null+****@clear*****
Fri Oct 16 12:27:34 JST 2015


susumu.yata	2015-10-16 12:27:34 +0900 (Fri, 16 Oct 2015)

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

  Message:
    grn_pat: add a command test for #415

  Added files:
    test/command/suite/issues/issue_415.expected
    test/command/suite/issues/issue_415.test

  Added: test/command/suite/issues/issue_415.expected (+17 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/issues/issue_415.expected    2015-10-16 12:27:34 +0900 (4ab4935)
@@ -0,0 +1,17 @@
+table_create pat TABLE_PAT_KEY Int64
+[[0,0.0,0.0],true]
+load --table pat
+[
+{"_key": 0},
+{"_key": 1}
+]
+[[0,0.0,0.0],2]
+delete pat --key 1
+[[0,0.0,0.0],true]
+load --table pat
+[
+{"_key": 3}
+]
+[[0,0.0,0.0],1]
+select pat
+[[0,0.0,0.0],[[[2],[["_id","UInt32"],["_key","Int64"]],[1,0],[3,3]]]]

  Added: test/command/suite/issues/issue_415.test (+16 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/issues/issue_415.test    2015-10-16 12:27:34 +0900 (64ec08b)
@@ -0,0 +1,16 @@
+table_create pat TABLE_PAT_KEY Int64
+
+load --table pat
+[
+{"_key": 0},
+{"_key": 1}
+]
+
+delete pat --key 1
+
+load --table pat
+[
+{"_key": 3}
+]
+
+select pat
-------------- next part --------------
HTML����������������������������...
Download 



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