php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56587 Add client library information to PHP_MINFO_FUNCTION
Submitted: 2005-10-10 09:42 UTC Modified: 2005-10-28 21:58 UTC
From: kawai at iij dot ad dot jp Assigned: wez (profile)
Status: Closed Package: PDO_MYSQL (PECL)
PHP Version: 5_1 CVS-2005-10-10 (dev) OS:
Private report: No CVE-ID: None
 [2005-10-10 09:42 UTC] kawai at iij dot ad dot jp
Description:
------------
This information is useful for us :-)

Index: pdo_mysql.c
===================================================================
RCS file: /repository/pecl/pdo_mysql/pdo_mysql.c,v
retrieving revision 1.8.2.4
diff -u -r1.8.2.4 pdo_mysql.c
--- pdo_mysql.c	1 Oct 2005 19:19:36 -0000	1.8.2.4
+++ pdo_mysql.c	10 Oct 2005 13:41:07 -0000
@@ -95,7 +95,8 @@
 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 3.x/4.x Client Libraries", "enabled");
+	php_info_print_table_row(2,"MySQL Client Library Version",mysql_get_client_info());
 	php_info_print_table_end();
 }
 /* }}} */



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-28 21:58 UTC] wez@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 18:01:27 2024 UTC