susumu.yata
null+****@clear*****
Fri Oct 17 12:06:03 JST 2014
susumu.yata 2014-10-17 12:06:03 +0900 (Fri, 17 Oct 2014) New Revision: acbddcfdf245fce5d2fb533b76483bcfc3c2118b https://github.com/groonga/groonga/commit/acbddcfdf245fce5d2fb533b76483bcfc3c2118b Message: test: output all records for each key index type GitHub: refs #220 Added files: test/command/suite/select/output/key/double_array_trie.expected test/command/suite/select/output/key/double_array_trie.test test/command/suite/select/output/key/hash.expected test/command/suite/select/output/key/hash.test test/command/suite/select/output/key/patricia_trie.expected test/command/suite/select/output/key/patricia_trie.test Added: test/command/suite/select/output/key/double_array_trie.expected (+51 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output/key/double_array_trie.expected 2014-10-17 12:06:03 +0900 (0a331e4) @@ -0,0 +1,51 @@ +table_create Names TABLE_DAT_KEY ShortText +[[0,0.0,0.0],true] +load --table Names +[ +{"_key":"ひろゆき"}, +{"_key":"まろゆき"}, +{"_key":"ひろあき"}, +{"_key":"ゆきひろ"} +] +[[0,0.0,0.0],4] +select --table Names +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 4 + ], + [ + [ + "_id", + "UInt32" + ], + [ + "_key", + "ShortText" + ] + ], + [ + 3, + "ひろあき" + ], + [ + 1, + "ひろゆき" + ], + [ + 2, + "まろゆき" + ], + [ + 4, + "ゆきひろ" + ] + ] + ] +] Added: test/command/suite/select/output/key/double_array_trie.test (+9 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output/key/double_array_trie.test 2014-10-17 12:06:03 +0900 (c22ac12) @@ -0,0 +1,9 @@ +table_create Names TABLE_DAT_KEY ShortText +load --table Names +[ +{"_key":"ひろゆき"}, +{"_key":"まろゆき"}, +{"_key":"ひろあき"}, +{"_key":"ゆきひろ"} +] +select --table Names Added: test/command/suite/select/output/key/hash.expected (+51 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output/key/hash.expected 2014-10-17 12:06:03 +0900 (462a319) @@ -0,0 +1,51 @@ +table_create Names TABLE_HASH_KEY ShortText +[[0,0.0,0.0],true] +load --table Names +[ +{"_key":"ひろゆき"}, +{"_key":"まろゆき"}, +{"_key":"ひろあき"}, +{"_key":"ゆきひろ"} +] +[[0,0.0,0.0],4] +select --table Names +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 4 + ], + [ + [ + "_id", + "UInt32" + ], + [ + "_key", + "ShortText" + ] + ], + [ + 1, + "ひろゆき" + ], + [ + 2, + "まろゆき" + ], + [ + 3, + "ひろあき" + ], + [ + 4, + "ゆきひろ" + ] + ] + ] +] Added: test/command/suite/select/output/key/hash.test (+9 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output/key/hash.test 2014-10-17 12:06:03 +0900 (51a76a7) @@ -0,0 +1,9 @@ +table_create Names TABLE_HASH_KEY ShortText +load --table Names +[ +{"_key":"ひろゆき"}, +{"_key":"まろゆき"}, +{"_key":"ひろあき"}, +{"_key":"ゆきひろ"} +] +select --table Names Added: test/command/suite/select/output/key/patricia_trie.expected (+51 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output/key/patricia_trie.expected 2014-10-17 12:06:03 +0900 (84398a1) @@ -0,0 +1,51 @@ +table_create Names TABLE_PAT_KEY ShortText +[[0,0.0,0.0],true] +load --table Names +[ +{"_key":"ひろゆき"}, +{"_key":"まろゆき"}, +{"_key":"ひろあき"}, +{"_key":"ゆきひろ"} +] +[[0,0.0,0.0],4] +select --table Names +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 4 + ], + [ + [ + "_id", + "UInt32" + ], + [ + "_key", + "ShortText" + ] + ], + [ + 3, + "ひろあき" + ], + [ + 1, + "ひろゆき" + ], + [ + 2, + "まろゆき" + ], + [ + 4, + "ゆきひろ" + ] + ] + ] +] Added: test/command/suite/select/output/key/patricia_trie.test (+9 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output/key/patricia_trie.test 2014-10-17 12:06:03 +0900 (1dc0f29) @@ -0,0 +1,9 @@ +table_create Names TABLE_PAT_KEY ShortText +load --table Names +[ +{"_key":"ひろゆき"}, +{"_key":"まろゆき"}, +{"_key":"ひろあき"}, +{"_key":"ゆきひろ"} +] +select --table Names -------------- next part -------------- HTML����������������������������... 下載