mirror of
https://github.com/php/php-src.git
synced 2025-01-25 05:04:20 +08:00
Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
This commit is contained in:
parent
dac527bfde
commit
e0349c5cb5
@ -552,12 +552,10 @@ static struct pdo_dbh_methods mysql_methods = {
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
#ifndef PDO_MYSQL_UNIX_ADDR
|
||||
# ifdef PHP_WIN32
|
||||
# define MYSQL_UNIX_ADDR "MySQL"
|
||||
# else
|
||||
# define MYSQL_UNIX_ADDR PDO_MYSQL_G(default_socket)
|
||||
# endif
|
||||
#ifdef PHP_WIN32
|
||||
# define MYSQL_UNIX_ADDR "MySQL"
|
||||
#else
|
||||
# define MYSQL_UNIX_ADDR PDO_MYSQL_G(default_socket)
|
||||
#endif
|
||||
|
||||
/* {{{ pdo_mysql_handle_factory */
|
||||
|
Loading…
Reference in New Issue
Block a user