fix recover error

This commit is contained in:
yihaoDeng 2023-07-13 16:17:18 +08:00
parent 1307776786
commit 9e128b92f8
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,7 @@ int32_t streamStateGetKVByCur_rocksdb(SStreamStateCur* pCur, SWinKey* pKey, cons
if (pVLen != NULL) { if (pVLen != NULL) {
size_t vlen = 0; size_t vlen = 0;
const char* valStr = rocksdb_iter_value(pCur->iter, &vlen); const char* valStr = rocksdb_iter_value(pCur->iter, &vlen);
*pVLen = decodeValueFunc((void*)valStr, vlen, NULL, (char**)&pVal); *pVLen = decodeValueFunc((void*)valStr, vlen, NULL, (char**)pVal);
} }
*pKey = pKtmp->key; *pKey = pKtmp->key;