未验证 提交 cc8f9341 编写于 作者: S slguan 提交者: GitHub

Merge pull request #177 from xwangg/master

fix #174
......@@ -715,7 +715,7 @@ static int32_t tscParseSqlForCreateTableOnDemand(char** sqlstr, SSqlObj* pSql) {
int32_t len = cend - cstart + 1;
if (cstart != NULL && createTable == true) {
/* move the column list to start position of the next accessed points */
memcpy(sql - len, cstart, len);
memmove(sql - len, cstart, len);
*sqlstr = sql - len;
} else {
*sqlstr = sql;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册