Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).

This commit is contained in:
Ilia Alshanetsky 2009-08-20 12:13:38 +00:00
parent dac527bfde
commit e0349c5cb5

View File

@ -552,12 +552,10 @@ static struct pdo_dbh_methods mysql_methods = {
};
/* }}} */
#ifndef PDO_MYSQL_UNIX_ADDR
# ifdef PHP_WIN32
#ifdef PHP_WIN32
# define MYSQL_UNIX_ADDR "MySQL"
# else
#else
# define MYSQL_UNIX_ADDR PDO_MYSQL_G(default_socket)
# endif
#endif
/* {{{ pdo_mysql_handle_factory */