mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
Fix issues around MYSQL_TCP_PORT_DEFAULT (should be really 0 all the time)
This commit is contained in:
parent
8d74e5c50e
commit
ada6e38dc5
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue