]> git.pld-linux.org Git - packages/php.git/commitdiff
drop "Headers and client library minor version mismatch. Headers:50614 Library:50532...
authorElan Ruusamäe <glen@delfi.ee>
Tue, 19 Nov 2013 22:20:58 +0000 (00:20 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 19 Nov 2013 22:20:58 +0000 (00:20 +0200)
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 [new file with mode: 0644]

diff --git a/mysql-lib-ver-mismatch.patch b/mysql-lib-ver-mismatch.patch
new file mode 100644 (file)
index 0000000..d49d195
--- /dev/null
@@ -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",
This page took 0.039579 seconds and 4 git commands to generate.