Merge branch 'enh/dev3.0' into enh/addCompileError

This commit is contained in:
yihaoDeng 2023-05-29 01:11:13 +00:00
parent 2f5fe2dec6
commit de739ce086
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ int streamGetInit(SStreamState* pState, const char* funcName) {
break;
}
}
if (idx != -1) {
if (pState != NULL && idx != -1) {
rocksdb_column_family_handle_t* cf = NULL;
taosThreadRwlockRdlock(&pState->pTdbState->rwLock);
cf = pState->pTdbState->pHandle[idx];