mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fix issues around MYSQL_TCP_PORT_DEFAULT (should be really 0 all the time)
This commit is contained in:
@@ -84,7 +84,11 @@ ENDIF()
|
|||||||
IF(NOT MYSQL_TCP_PORT)
|
IF(NOT MYSQL_TCP_PORT)
|
||||||
SET(MYSQL_TCP_PORT ${MYSQL_TCP_PORT_DEFAULT})
|
SET(MYSQL_TCP_PORT ${MYSQL_TCP_PORT_DEFAULT})
|
||||||
SET(MYSQL_TCP_PORT_DEFAULT "0")
|
SET(MYSQL_TCP_PORT_DEFAULT "0")
|
||||||
|
ELSEIF(MYSQL_TCP_PORT EQUAL MYSQL_TCP_PORT_DEFAULT)
|
||||||
|
SET(MYSQL_TCP_PORT_DEFAULT "0")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
|
||||||
IF(NOT MYSQL_UNIX_ADDR)
|
IF(NOT MYSQL_UNIX_ADDR)
|
||||||
SET(MYSQL_UNIX_ADDR "/tmp/mysql.sock")
|
SET(MYSQL_UNIX_ADDR "/tmp/mysql.sock")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
Reference in New Issue
Block a user