Kentaro Hayashi 2019-04-17 16:43:22 +0900 (Wed, 17 Apr 2019) Revision: f2319ab56cd7a93a4d3caa26ff2c6db8f1d5933a https://github.com/groonga/groonga/commit/f2319ab56cd7a93a4d3caa26ff2c6db8f1d5933a Message: test: add io_flush recursive=dependent test case (#939) Added files: test/command/suite/io_flush/recursive/dependent/table/loop_reference.expected test/command/suite/io_flush/recursive/dependent/table/loop_reference.test Added: test/command/suite/io_flush/recursive/dependent/table/loop_reference.expected (+23 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/io_flush/recursive/dependent/table/loop_reference.expected 2019-04-17 16:43:22 +0900 (cb0a54a43) @@ -0,0 +1,23 @@ +table_create Users TABLE_HASH_KEY ShortText +[[0,0.0,0.0],true] +table_create Groups TABLE_HASH_KEY Users +[[0,0.0,0.0],true] +column_create Groups name COLUMN_SCALAR ShortText +[[0,0.0,0.0],true] +column_create Users name COLUMN_SCALAR ShortText +[[0,0.0,0.0],true] +column_create Users group COLUMN_SCALAR Groups +[[0,0.0,0.0],true] +io_flush Users --recursive dependent +[[0,0.0,0.0],true] +#>io_flush --recursive "dependent" --target_name "Users" +#:000000000000000 flush[Groups] +#:000000000000000 flush[Users.group] +#:000000000000000 flush[Users.name] +#:000000000000000 flush[Users] +#:000000000000000 flush[(anonymous:table:dat_key)] +#:000000000000000 flush[(anonymous:column:var_size)] +#:000000000000000 flush[(anonymous:table:hash_key)] +#:000000000000000 flush[(anonymous:column:var_size)] +#:000000000000000 flush[(DB)] +#<000000000000000 rc=0 Added: test/command/suite/io_flush/recursive/dependent/table/loop_reference.test (+11 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/io_flush/recursive/dependent/table/loop_reference.test 2019-04-17 16:43:22 +0900 (b0cdb14f8) @@ -0,0 +1,11 @@ +table_create Users TABLE_HASH_KEY ShortText + +table_create Groups TABLE_HASH_KEY Users +column_create Groups name COLUMN_SCALAR ShortText + +column_create Users name COLUMN_SCALAR ShortText +column_create Users group COLUMN_SCALAR Groups + +#@collect-query-log true +io_flush Users --recursive dependent +#@collect-query-log false -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190417/7b49dc00/attachment.html>