提交 497f9af8 编写于 作者: Q qinzuoyan 提交者: WeijieSun

improve shell

Summary: Ref T10174

Test Plan: N/A

Reviewers: sunweijie, cailiuyang, heyuchen, wutao1

Reviewed By: cailiuyang

Subscribers: #pegasus

Maniphest Tasks: T10174

Differential Revision: https://phabricator.d.xiaomi.net/D76549
上级 283e55b4
......@@ -1997,6 +1997,7 @@ inline bool clear_data(command_executor *e, shell_context *sc, arguments args)
std::vector<pegasus::pegasus_client::pegasus_scanner *> scanners;
pegasus::pegasus_client::scan_options options;
options.timeout_ms = timeout_ms;
options.no_value = true;
int ret = sc->pg_client->get_unordered_scanners(max_split_count, options, scanners);
if (ret != pegasus::PERR_OK) {
fprintf(
......@@ -2152,6 +2153,7 @@ inline bool count_data(command_executor *e, shell_context *sc, arguments args)
std::vector<pegasus::pegasus_client::pegasus_scanner *> scanners;
pegasus::pegasus_client::scan_options options;
options.timeout_ms = timeout_ms;
options.no_value = !stat_size;
int ret = sc->pg_client->get_unordered_scanners(max_split_count, options, scanners);
if (ret != pegasus::PERR_OK) {
fprintf(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册