Kouhei Sutou
null+****@clear*****
Sun Aug 4 23:36:20 JST 2013
Kouhei Sutou 2013-08-04 23:36:20 +0900 (Sun, 04 Aug 2013) New Revision: cd159a6c716d3ae19cf782376d0618f629642c1d https://github.com/groonga/groonga/commit/cd159a6c716d3ae19cf782376d0618f629642c1d Message: test: remove a needless test The case can't be occurred because a vector column that references removed table is blocked. If a user remove a table that is referenced by any column, the remove operation is failed by the recent improvements. Removed files: test/command/suite/column_create/index/offline/orphan_reference/vector.expected test/command/suite/column_create/index/offline/orphan_reference/vector.test Deleted: test/command/suite/column_create/index/offline/orphan_reference/vector.expected (+0 -25) 100644 =================================================================== --- test/command/suite/column_create/index/offline/orphan_reference/vector.expected 2013-08-04 23:03:21 +0900 (f38a84c) +++ /dev/null @@ -1,25 +0,0 @@ -table_create Dummy1 TABLE_NO_KEY -[[0,0.0,0.0],true] -table_create Dummy2 TABLE_NO_KEY -[[0,0.0,0.0],true] -table_create Users TABLE_HASH_KEY ShortText -[[0,0.0,0.0],true] -table_create Bookmarks TABLE_HASH_KEY ShortText -[[0,0.0,0.0],true] -column_create Bookmarks user COLUMN_VECTOR Users -[[0,0.0,0.0],true] -load --table Bookmarks -[ -{"_key": "http://groonga.org/", "user": ["mori"]} -] -[[0,0.0,0.0],1] -table_remove Users -[[0,0.0,0.0],true] -table_remove Dummy1 -[[0,0.0,0.0],true] -table_remove Dummy2 -[[0,0.0,0.0],true] -table_create Users TABLE_HASH_KEY ShortText -[[0,0.0,0.0],true] -column_create Users bookmark_index COLUMN_INDEX Bookmarks user -[[0,0.0,0.0],true] Deleted: test/command/suite/column_create/index/offline/orphan_reference/vector.test (+0 -18) 100644 =================================================================== --- test/command/suite/column_create/index/offline/orphan_reference/vector.test 2013-08-04 23:03:21 +0900 (ca0757b) +++ /dev/null @@ -1,18 +0,0 @@ -table_create Dummy1 TABLE_NO_KEY -table_create Dummy2 TABLE_NO_KEY -table_create Users TABLE_HASH_KEY ShortText -table_create Bookmarks TABLE_HASH_KEY ShortText -column_create Bookmarks user COLUMN_VECTOR Users - -load --table Bookmarks -[ -{"_key": "http://groonga.org/", "user": ["mori"]} -] - -# Change Users table's ID and make the previous ID orphan -table_remove Users -table_remove Dummy1 -table_remove Dummy2 -table_create Users TABLE_HASH_KEY ShortText - -column_create Users bookmark_index COLUMN_INDEX Bookmarks user -------------- next part -------------- HTML����������������������������... 下載