提交 ead0a979 编写于 作者: dengyihao's avatar dengyihao

avoid except

上级 66528912
...@@ -287,10 +287,10 @@ void transCtxMerge(STransCtx* dst, STransCtx* src) { ...@@ -287,10 +287,10 @@ void transCtxMerge(STransCtx* dst, STransCtx* src) {
STransCtxVal* sVal = (STransCtxVal*)iter; STransCtxVal* sVal = (STransCtxVal*)iter;
key = taosHashGetKey(sVal, &klen); key = taosHashGetKey(sVal, &klen);
STransCtxVal* dVal = taosHashGet(dst->args, key, klen); // STransCtxVal* dVal = taosHashGet(dst->args, key, klen);
if (dVal) { // if (dVal) {
dst->freeFunc(dVal->val); // dst->freeFunc(dVal->val);
} // }
taosHashPut(dst->args, key, klen, sVal, sizeof(*sVal)); taosHashPut(dst->args, key, klen, sVal, sizeof(*sVal));
iter = taosHashIterate(src->args, iter); iter = taosHashIterate(src->args, iter);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册