提交 ffd1bab4 编写于 作者: C Cary Xu

revert

上级 f7055be3
...@@ -2936,15 +2936,13 @@ void tscDequoteAndTrimToken(SStrToken* pToken) { ...@@ -2936,15 +2936,13 @@ void tscDequoteAndTrimToken(SStrToken* pToken) {
} }
// there are still at least two characters // there are still at least two characters
while (first < last - 1) { if (first < last - 1) {
char c = pToken->z[first]; char c = pToken->z[first];
// dequote // dequote
if ((c == '\'' || c == '"') && c == pToken->z[last - 1]) { if ((c == '\'' || c == '"') && c == pToken->z[last - 1]) {
first++; first++;
last--; last--;
continue;
} }
break;
} }
// left shift the string and pad spaces // left shift the string and pad spaces
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册