Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR)

# Original patch by six at aegis-corp dot org
This commit is contained in:
Ilia Alshanetsky 2009-10-29 13:33:51 +00:00
parent 438723729c
commit 921d8ca9c4

View File

@ -40,11 +40,14 @@ ZEND_DECLARE_MODULE_GLOBALS(pdo_mysql);
#ifndef PHP_WIN32
# ifndef PDO_MYSQL_UNIX_ADDR
# ifdef PHP_MYSQL_UNIX_SOCK_ADDR
# define PDO_MYSQL_UNIX_ADDR PHP_MYSQL_UNIX_SOCK_ADDR
# else
# define PDO_MYSQL_UNIX_ADDR "/tmp/mysql.sock"
# endif
# endif
#endif
/* {{{ PHP_INI_BEGIN
*/
PHP_INI_BEGIN()