提交 43a71e97 编写于 作者: S shenglian zhou

change safe bound

上级 ad0dd8cf
......@@ -997,7 +997,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 * 10;
int32_t safeBound = 1024 * 24;
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.
先完成此消息的编辑!
想要评论请 注册