diff --git a/source/dnode/vnode/src/meta/metaTDBImpl.c b/source/dnode/vnode/src/meta/metaTDBImpl.c index c273f584ff70d0a7b7f6a424159dbfef9a1d176b..3ab26c3d4dae17c3bbb67d380063de63d38278df 100644 --- a/source/dnode/vnode/src/meta/metaTDBImpl.c +++ b/source/dnode/vnode/src/meta/metaTDBImpl.c @@ -547,7 +547,7 @@ tb_uid_t metaCtbCursorNext(SMCtbCursor *pCtbCur) { return 0; } - pCtbIdxKey = pCtbCur->pVal; + pCtbIdxKey = pCtbCur->pKey; return pCtbIdxKey->uid; }