[Groonga-commit] groonga/groonga at d4e04f2 [master] test table_remove: add a test for column of the removing table

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sat Aug 3 20:41:36 JST 2013


Kouhei Sutou	2013-08-03 20:41:36 +0900 (Sat, 03 Aug 2013)

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

  Message:
    test table_remove: add a test for column of the removing table
    
    It is OK that a column of the removing table references the removing
    table because the column is also removed.

  Added files:
    test/command/suite/table_remove/patricia_trie/referenced/column_own.expected
    test/command/suite/table_remove/patricia_trie/referenced/column_own.test

  Added: test/command/suite/table_remove/patricia_trie/referenced/column_own.expected (+21 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/patricia_trie/referenced/column_own.expected    2013-08-03 20:41:36 +0900 (00cc432)
@@ -0,0 +1,21 @@
+table_create Names TABLE_PAT_KEY ShortText
+[[0,0.0,0.0],true]
+column_create Names nick_name COLUMN_SCALAR Names
+[[0,0.0,0.0],true]
+table_remove Names
+[
+  [
+    [
+      -2,
+      0.0,
+      0.0
+    ],
+    "[table][remove] a column that references the table exists: <Names.nick_name> -> <Names>"
+  ],
+  false
+]
+#|e| [table][remove] a column that references the table exists: <Names.nick_name> -> <Names>
+dump
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names nick_name COLUMN_SCALAR Names
+

  Added: test/command/suite/table_remove/patricia_trie/referenced/column_own.test (+6 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/patricia_trie/referenced/column_own.test    2013-08-03 20:41:36 +0900 (9f1864a)
@@ -0,0 +1,6 @@
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names nick_name COLUMN_SCALAR Names
+
+table_remove Names
+
+dump
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index