refactor transport

This commit is contained in:
Yihao Deng 2024-05-07 03:28:31 +00:00
parent 8c11a7e998
commit 1932707137
1 changed files with 3 additions and 0 deletions

View File

@ -2775,6 +2775,9 @@ int32_t streamStateGetKVByCur_rocksdb(SStreamStateCur* pCur, SWinKey* pKey, cons
size_t vlen = 0;
const char* valStr = rocksdb_iter_value(pCur->iter, &vlen);
*pVLen = valueDecode((void*)valStr, vlen, NULL, (char**)pVal);
if (*pVLen < 0) {
return -1;
}
}
*pKey = pKtmp->key;