diff options
author | Andrey Hristov <andrey@php.net> | 2008-07-21 13:01:41 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-07-21 13:01:41 +0000 |
commit | 0df974b7a599ae424bc7f80c23b4c721d689ce9c (patch) | |
tree | 11234a3074514c211c8351766f5a76e4c97531b7 /ext/pdo_mysql/pdo_mysql.c | |
parent | 78bab4d9b306334951474ce296009e1720199cdd (diff) | |
download | php-git-0df974b7a599ae424bc7f80c23b4c721d689ce9c.tar.gz |
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
Diffstat (limited to 'ext/pdo_mysql/pdo_mysql.c')
-rwxr-xr-x | ext/pdo_mysql/pdo_mysql.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pdo_mysql/pdo_mysql.c b/ext/pdo_mysql/pdo_mysql.c index 1b293a21b4..bff9f10ac7 100755 --- a/ext/pdo_mysql/pdo_mysql.c +++ b/ext/pdo_mysql/pdo_mysql.c @@ -101,7 +101,8 @@ PHP_MSHUTDOWN_FUNCTION(pdo_mysql) PHP_MINFO_FUNCTION(pdo_mysql) { php_info_print_table_start(); - php_info_print_table_header(2, "PDO Driver for MySQL 3.x Client Libraries", "enabled"); + php_info_print_table_header(2, "PDO Driver for MySQL, client library version", mysql_get_client_info()); + php_info_print_table_row(2, "MYSQL_SOCKET", PDO_MYSQL_UNIX_ADDR); php_info_print_table_end(); } /* }}} */ |