From 66fba7ec601955b22e4181562352b16b541de5ff Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Fri, 9 Dec 2022 16:28:26 +0800 Subject: [PATCH] meta/begin: a comment to describe the default heap option --- source/dnode/vnode/src/meta/metaCommit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/dnode/vnode/src/meta/metaCommit.c b/source/dnode/vnode/src/meta/metaCommit.c index de3abc2c8e..ac8d99ccf0 100644 --- a/source/dnode/vnode/src/meta/metaCommit.c +++ b/source/dnode/vnode/src/meta/metaCommit.c @@ -24,6 +24,7 @@ int metaBegin(SMeta *pMeta, int8_t heap) { void (*xFree)(void *, void *) = NULL; void *xArg = NULL; + // default heap to META_BEGIN_HEAP_NIL if (heap == META_BEGIN_HEAP_OS) { xMalloc = tdbDefaultMalloc; xFree = tdbDefaultFree;