close_socket() is not declared in -DHAVE_PURIFY builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.6 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
The following options are used for cmake to build PS-5.6:
CFLAGS=
The following error takes place:
Percona-
Percona-
Percona-
The reason is in the following code:
static void close_server_sock()
{
#ifdef HAVE_CLOSE_
DBUG_
MYSQL_SOCKET tmp_sock;
tmp_sock=ip_sock;
close_
close_
close_
if (mysql_
(void) unlink(
base_ip_sock= extra_ip_sock= unix_sock= MYSQL_INVALID_
DBUG_VOID_RETURN;
#endif
}
tmp_sock is not used so it can be removed and mysql_socket_
Related branches
- Stewart Smith (community): Approve
- George Ormond Lorch III (community): Approve (g2)
-
Diff: 92 lines (+27/-5)3 files modifiedPercona-Server/sql/mysqld.cc (+22/-1)
Percona-Server/sql/sql_connect.cc (+4/-3)
Percona-Server/sql/sys_vars.cc (+1/-1)
- Percona core: Pending requested
-
Diff: 165 lines (+121/-1) (has conflicts)2 files modifiedPercona-Server/sql/mysqld.cc (+114/-1)
Percona-Server/sql/sql_connect.cc (+7/-0)
- Stewart Smith (community): Approve
- George Ormond Lorch III (community): Approve (g2)
-
Diff: 30 lines (+13/-2)1 file modifiedPercona-Server/sql/mysqld.cc (+13/-2)
summary: |
- close_socket() is not declared + close_socket() is not declared in -DHAVE_PURIFY builds |
Must be due to threadpool changes. Sergei, can you take a look?