diff --git a/mttest.cc b/mttest.cc index 69f9384..22005d3 100644 --- a/mttest.cc +++ b/mttest.cc @@ -410,9 +410,9 @@ template void kvtest_client::iscan_sync(const Str &firstkey, int n, std::vector &keys, std::vector &values) { - Json req = Json::array(0, 0, firstkey, n); - q_[0].run_iscan(table_->table(), req, *ti_); - output_scan(req, keys, values); + req_ = Json::array(0, 0, firstkey, n); + q_[0].run_iscan(table_->table(), req_, *ti_); + output_scan(req_, keys, values); } template