提交 5827e625 编写于 作者: W WangXin

fix #174

上级 defb4739
......@@ -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.
先完成此消息的编辑!
想要评论请 注册