提交 0bf6fade 编写于 作者: Z zhaoyanggh

fix asm error

上级 6d16520f
......@@ -3470,7 +3470,8 @@ static int parseSamplefileToStmtBatch(SSuperTable *stbInfo) {
case TSDB_DATA_TYPE_NCHAR:
tmpP = calloc(
1, MAX_SAMPLES * (((stbInfo) ? stbInfo->columns[c].dataLen
: g_args.binwidth)));
: g_args.binwidth) +
1));
assert(tmpP);
*(uintptr_t *)(sampleBindBatchArray + sizeof(uintptr_t *) * c) =
(uintptr_t)tmpP;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册