Merge pull request #6537 from taosdata/hotfix/TD-4764

[TD-4764]fix quote issue
This commit is contained in:
Haojun Liao 2021-06-18 22:03:50 +08:00 committed by GitHub
commit 2345683d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ int32_t shellRunCommand(TAOS* con, char* command) {
if (quote == c) {
quote = 0;
} else if (c == '\'' || c == '"') {
} else if (quote == 0 && (c == '\'' || c == '"')) {
quote = c;
}