未验证 提交 fa631c6f 编写于 作者: H Haojun Liao 提交者: GitHub

Merge pull request #11053 from taosdata/TS-1363

[TS-1363]<fix>: Mutex is not initialized
......@@ -4235,6 +4235,10 @@ void executeQuery(SSqlObj* pSql, SQueryInfo* pQueryInfo) {
}
return;
} else if (hasMoreClauseToTry(pSql)) {
if (pthread_mutex_init(&pSql->subState.mutex, NULL) != 0) {
goto _error;
}
}
pSql->cmd.active = pQueryInfo;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册