提交 b6d4e98e 编写于 作者: Y yihaoDeng

fix restart crash

上级 870d75bf
......@@ -1026,8 +1026,8 @@ int streamStateGetCfIdx(SStreamState* pState, const char* funcName) {
break;
}
}
SBackendCfWrapper* wrapper = pState->pTdbState->pBackendCfWrapper;
if (pState != NULL && idx != -1) {
SBackendCfWrapper* wrapper = pState->pTdbState->pBackendCfWrapper;
rocksdb_column_family_handle_t* cf = NULL;
taosThreadRwlockRdlock(&wrapper->rwLock);
cf = wrapper->pHandle[idx];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册