提交 4bccaeee 编写于 作者: D dapan1121

fix quote issue

上级 3a740a58
...@@ -248,7 +248,7 @@ int32_t shellRunCommand(TAOS* con, char* command) { ...@@ -248,7 +248,7 @@ int32_t shellRunCommand(TAOS* con, char* command) {
if (quote == c) { if (quote == c) {
quote = 0; quote = 0;
} else if (c == '\'' || c == '"') { } else if (quote == 0 && (c == '\'' || c == '"')) {
quote = c; quote = c;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册