提交 70ca484b 编写于 作者: S shenglian zhou

increase safe bound

上级 16215fb0
......@@ -996,7 +996,7 @@ static int32_t applyDataPointsWithSqlInsert(TAOS* taos, TAOS_SML_DATA_POINT* poi
info->id, point->childTableName, point->stableName);
int32_t cTableSqlLen = 0;
code = addChildTableDataPointsToInsertSql(point->childTableName, point->stableName, sTableSchema, cTablePoints, batch->sql+usedBytes, freeBytes, &cTableSqlLen, info);
int32_t safeBound = 2048;
int32_t safeBound = 2048 * 10;
if (cTableSqlLen < freeBytes - safeBound) {
usedBytes += cTableSqlLen;
freeBytes -= cTableSqlLen;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册