Merge pull request #6537 from taosdata/hotfix/TD-4764
[TD-4764]fix quote issue
This commit is contained in:
commit
2345683d98
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue