summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-07-21 12:58:51 +0000
committerAndrey Hristov <andrey@php.net>2008-07-21 12:58:51 +0000
commit5e79f2c47616cba4e4dbb710caed7486b1df75a6 (patch)
tree94ca08698824cd9f99c53be6e898aaddd9c56511 /ext/pdo_mysql/mysql_driver.c
parentee40f557a7119845b4311e732c6b797ab44e83e5 (diff)
downloadphp-git-5e79f2c47616cba4e4dbb710caed7486b1df75a6.tar.gz
Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be the default value as it was set in php.ini . php.ini will override it for ext/mysql and ext/mysqli but not for pdo_mysql
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index e59388bf8f..ba945a2c06 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -423,13 +423,6 @@ static struct pdo_dbh_methods mysql_methods = {
pdo_mysql_check_liveness
};
-#ifndef PDO_MYSQL_UNIX_ADDR
-# ifdef PHP_WIN32
-# define PDO_MYSQL_UNIX_ADDR "MySQL"
-# else
-# define PDO_MYSQL_UNIX_ADDR "/tmp/mysql.sock"
-# endif
-#endif
static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC) /* {{{ */
{