提交 07db0733 编写于 作者: wmmhello's avatar wmmhello

[TS-165]<fix> fix space error when parse sql

上级 f45fde3c
......@@ -147,7 +147,7 @@ TAOS *shellInit(SShellArguments *_args) {
static bool isEmptyCommand(const char* cmd) {
for (char c = *cmd++; c != 0; c = *cmd++) {
if (isspace(c) && c != ';') {
if (c != ' ' && c != '\t' && c != ';') {
return false;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册