mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
MFB :
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
This commit is contained in:
parent
78bab4d9b3
commit
0df974b7a5
9 changed files with 41 additions and 12 deletions
|
@ -417,13 +417,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) /* {{{ */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue