mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
This commit is contained in:
parent
e1f42c3bbb
commit
019f4f2c22
2
NEWS
2
NEWS
@ -22,6 +22,8 @@ PHP NEWS
|
||||
- Fixed memory leak in stream_is_local(). (Felipe, Tony)
|
||||
- Fixed BC break in mime_content_type(), removes the content encoding. (Scott)
|
||||
|
||||
- Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
|
||||
(Ilia)
|
||||
- Fixed bug #49289 (bcmath module doesn't compile with phpize configure).
|
||||
(Jani)
|
||||
- Fixed bug #49269 (Ternary operator fails on Iterator object when used inside
|
||||
|
@ -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