提交 cf76ed44 编写于 作者: X xywang

[TD-5169]<fix>: fixed a parsing bug

上级 e1746698
...@@ -468,7 +468,7 @@ int32_t httpCheckAllocEscapeSql(char *oldSql, char **newSql) ...@@ -468,7 +468,7 @@ int32_t httpCheckAllocEscapeSql(char *oldSql, char **newSql)
src = ++pos; src = ++pos;
pos = strchr(pos, '%'); pos = strchr(pos, '%');
if (pos == NULL) { if (pos == NULL) {
memcpy(dst, src, sqlLen - strlen(src)); memcpy(dst, src, strlen(src));
break; break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册