提交 c0daa2d3 编写于 作者: A Alex Duan

feat(shell): autotab window build1

上级 a3505504
......@@ -328,8 +328,11 @@ void shellRunCommandOnServer(TAOS *con, char command[]) {
fprintf(stdout, "Database changed.\n\n");
fflush(stdout);
#ifndef WINDOWS
// call back auto tab module
callbackAutoTab(command, pSql, true);
callbackAutoTab(command, pSql, true);
#endif
atomic_store_64(&result, 0);
freeResultWithRid(oresult);
......@@ -370,8 +373,10 @@ void shellRunCommandOnServer(TAOS *con, char command[]) {
et = taosGetTimestampUs();
printf("Query OK, %d of %d row(s) in database (%.6fs)\n", num_rows_affacted, num_rows_affacted, (et - st) / 1E6);
#ifndef WINDOWS
// call auto tab
callbackAutoTab(command, pSql, false);
callbackAutoTab(command, pSql, false);
#endif
}
printf("\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册