fix recover error
This commit is contained in:
parent
2361048bed
commit
9434b4eaac
|
@ -1492,8 +1492,7 @@ int32_t streamStateGetKVByCur_rocksdb(SStreamStateCur* pCur, SWinKey* pKey, cons
|
|||
}
|
||||
|
||||
if (pVLen != NULL) {
|
||||
size_t vlen = 0;
|
||||
|
||||
size_t vlen = 0;
|
||||
const char* valStr = rocksdb_iter_value(pCur->iter, &vlen);
|
||||
*pVLen = decodeValueFunc((void*)valStr, vlen, NULL, (char**)&pVal);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue