Kouhei Sutou
null+****@clear*****
Thu Nov 22 22:30:22 JST 2012
Kouhei Sutou 2012-11-22 22:30:22 +0900 (Thu, 22 Nov 2012) New Revision: 3db60d6476636ff5e0df031bb2dc5363a562c8ae https://github.com/groonga/groonga/commit/3db60d6476636ff5e0df031bb2dc5363a562c8ae Log: Add a test for nested accessor for nonexistent column Added files: test/command/suite/select/output_columns/nonexistent/nested.actual test/command/suite/select/output_columns/nonexistent/nested.test Added: test/command/suite/select/output_columns/nonexistent/nested.actual (+38 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output_columns/nonexistent/nested.actual 2012-11-22 22:30:22 +0900 (7b3a8bb) @@ -0,0 +1,38 @@ +table_create Sites TABLE_HASH_KEY ShortText +[[0,0.0,0.0],true] +column_create Sites uri COLUMN_SCALAR ShortText +[[0,0.0,0.0],true] +load --table Sites +[ +["_key","uri"], +["groonga","http://groonga.org/"], +["razil","http://razil.jp/"] +] +[[0,0.0,0.0],2] +select Sites --output_columns 'uri, nonexistent1.nested' --command_version 2 +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 2 + ], + [ + [ + "uri", + "ShortText" + ] + ], + [ + "http://groonga.org/" + ], + [ + "http://razil.jp/" + ] + ] + ] +] Added: test/command/suite/select/output_columns/nonexistent/nested.test (+11 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/output_columns/nonexistent/nested.test 2012-11-22 22:30:22 +0900 (3a69c8d) @@ -0,0 +1,11 @@ +table_create Sites TABLE_HASH_KEY ShortText +column_create Sites uri COLUMN_SCALAR ShortText + +load --table Sites +[ +["_key","uri"], +["groonga","http://groonga.org/"], +["razil","http://razil.jp/"] +] + +select Sites --output_columns 'uri, nonexistent1.nested' --command_version 2 -------------- next part -------------- HTML����������������������������... Télécharger