Kouhei Sutou
null+****@clear*****
Thu Sep 20 18:49:57 JST 2012
Kouhei Sutou 2012-09-20 18:49:57 +0900 (Thu, 20 Sep 2012) New Revision: 04b6b9f61d2f5357a7e06be0a8dbd28322eecb9f https://github.com/groonga/groonga/commit/04b6b9f61d2f5357a7e06be0a8dbd28322eecb9f Log: travis: load data step by step for debug Modified files: test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.expected test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.test Modified: test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.expected (+188 -4) =================================================================== --- test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.expected 2012-09-20 16:06:39 +0900 (b28afbe) +++ test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.expected 2012-09-20 18:49:57 +0900 (580b4d2) @@ -4,12 +4,196 @@ column_create Names original COLUMN_SCALAR Bool [[0,0.0,0.0],true] load --table Names [ -{"_key": "ひろゆき", "original": true}, -{"_key": "まろゆき", "original": true}, -{"_key": "ひろあき", "original": true}, +{"_key": "ひろゆき", "original": true} +] +[[0,0.0,0.0],1] +select --table Names +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 4 + ], + [ + [ + "_id", + "UInt32" + ], + [ + "_key", + "ShortText" + ], + [ + "original", + "Bool" + ] + ], + [ + 4, + "き", + false + ], + [ + 1, + "ひろゆき", + true + ], + [ + 3, + "ゆき", + false + ], + [ + 2, + "ろゆき", + false + ] + ] + ] +] +load --table Names +[ +{"_key": "まろゆき", "original": true} +] +[[0,0.0,0.0],1] +select --table Names +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 5 + ], + [ + [ + "_id", + "UInt32" + ], + [ + "_key", + "ShortText" + ], + [ + "original", + "Bool" + ] + ], + [ + 4, + "き", + false + ], + [ + 1, + "ひろゆき", + true + ], + [ + 5, + "まろゆき", + true + ], + [ + 3, + "ゆき", + false + ], + [ + 2, + "ろゆき", + false + ] + ] + ] +] +load --table Names +[ +{"_key": "ひろあき", "original": true} +] +[[0,0.0,0.0],1] +select --table Names +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 8 + ], + [ + [ + "_id", + "UInt32" + ], + [ + "_key", + "ShortText" + ], + [ + "original", + "Bool" + ] + ], + [ + 8, + "あき", + false + ], + [ + 4, + "き", + false + ], + [ + 6, + "ひろあき", + true + ], + [ + 1, + "ひろゆき", + true + ], + [ + 5, + "まろゆき", + true + ], + [ + 3, + "ゆき", + false + ], + [ + 7, + "ろあき", + false + ], + [ + 2, + "ろゆき", + false + ] + ] + ] +] +load --table Names +[ {"_key": "ゆきひろ", "original": true} ] -[[0,0.0,0.0],4] +[[0,0.0,0.0],1] select --table Names [ [ Modified: test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.test (+15 -3) =================================================================== --- test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.test 2012-09-20 16:06:39 +0900 (2cc51e7) +++ test/function/suite/select/query/suffix_search/patricia_trie_key_with_sis.test 2012-09-20 18:49:57 +0900 (8fbd2d9) @@ -2,9 +2,21 @@ table_create Names TABLE_PAT_KEY|KEY_WITH_SIS ShortText column_create Names original COLUMN_SCALAR Bool load --table Names [ -{"_key": "ひろゆき", "original": true}, -{"_key": "まろゆき", "original": true}, -{"_key": "ひろあき", "original": true}, +{"_key": "ひろゆき", "original": true} +] +select --table Names +load --table Names +[ +{"_key": "まろゆき", "original": true} +] +select --table Names +load --table Names +[ +{"_key": "ひろあき", "original": true} +] +select --table Names +load --table Names +[ {"_key": "ゆきひろ", "original": true} ] select --table Names -------------- next part -------------- HTML����������������������������...Download