提交 65d0e022 编写于 作者: Y yuqing

bug fixed: caused by memory organize

上级 01b49699
......@@ -307,7 +307,7 @@ int conn_pool_close_connection_ex(ConnectionPool *cp, ConnectionInfo *conn,
return ENOENT;
}
node = (ConnectionNode *)(((char *)conn) - sizeof(ConnectionInfo));
node = (ConnectionNode *)(((char *)conn) - sizeof(ConnectionNode));
if (node->manager != cm)
{
logError("file: "__FILE__", line: %d, " \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册