提交 b4cec6c9 编写于 作者: H Hubert Zhang

Correct reset condition in sessionResetSlot

上级 2771a51a
......@@ -3889,7 +3889,7 @@ sessionResetSlot(void)
* the current session array and check corresponding resGroupSlot with
* shared lock on SessionStateLock.
*/
if (MySessionState == NULL)
if (MySessionState != NULL)
{
LWLockAcquire(SessionStateLock, LW_EXCLUSIVE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册