[packages/php/PHP_5_5] drop "Headers and client library minor version mismatch. Headers:50614 Library:50532" warnings
glen
glen at pld-linux.org
Tue Nov 19 23:27:39 CET 2013
commit bfac86901abb3090ec5046d81b283fec554a34d9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 20 00:20:58 2013 +0200
drop "Headers and client library minor version mismatch. Headers:50614 Library:50532" warnings
does not give anything and can break apps that track $php_errormsg for errors
or use custom error reporting function and not differenciating error
levels
mysql-lib-ver-mismatch.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/mysql-lib-ver-mismatch.patch b/mysql-lib-ver-mismatch.patch
new file mode 100644
index 0000000..d49d195
--- /dev/null
+++ b/mysql-lib-ver-mismatch.patch
@@ -0,0 +1,22 @@
+--- php-5.3.27/ext/mysqli/mysqli_nonapi.c~ 2013-11-20 00:19:11.000000000 +0200
++++ php-5.3.27/ext/mysqli/mysqli_nonapi.c 2013-11-20 00:19:44.725872552 +0200
+@@ -73,7 +73,7 @@
+ zend_bool self_alloced = 0;
+
+
+-#if !defined(MYSQL_USE_MYSQLND)
++#if 0 && !defined(MYSQL_USE_MYSQLND)
+ if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
+ php_error_docref(NULL TSRMLS_CC, E_NOTICE,
+ "Headers and client library minor version mismatch. Headers:%d Library:%ld",
+--- php-5.3.27/ext/mysql/php_mysql.c~ 2013-11-20 00:19:11.000000000 +0200
++++ php-5.3.27/ext/mysql/php_mysql.c 2013-11-20 00:20:01.719956531 +0200
+@@ -704,7 +704,7 @@
+ zend_bool free_host=0, new_link=0;
+ long connect_timeout;
+
+-#if !defined(MYSQL_USE_MYSQLND)
++#if 0 && !defined(MYSQL_USE_MYSQLND)
+ if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
+ php_error_docref(NULL TSRMLS_CC, E_NOTICE,
+ "Headers and client library minor version mismatch. Headers:%d Library:%ld",
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/f141d13b51e262eafcf431676a732e1c328f82f2
More information about the pld-cvs-commit
mailing list