提交 de739ce0 编写于 作者: dengyihao's avatar dengyihao

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

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