未验证 提交 c6e64da1 编写于 作者: O openharmony_ci 提交者: Gitee

!1760 FIX:解决ut cache用例失败问题 挑单monthly

Merge pull request !1760 from cheng_jinsong/0210_cache
......@@ -396,6 +396,7 @@ CachedHandle CachedParameterCreate(const char *name, const char *defValue)
param->nameLen = nameLen;
param->paramValue = &param->data[PARAM_ALIGN(nameLen) + 1];
param->bufferLen = PARAM_VALUE_LEN_MAX;
param->dataCommitId = (uint32_t)-1;
if (node != NULL && node->dataIndex != 0) {
param->dataIndex = node->dataIndex;
ParamNode *entry = (ParamNode *)GetTrieNode(workspace, node->dataIndex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册