未验证 提交 acc66a70 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #11057 from taosdata/TS-1363_dev

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