]> TLD Linux GIT Repositories - packages/php.git/blob - mysql-lib-ver-mismatch.patch
- missed in previous commit
[packages/php.git] / mysql-lib-ver-mismatch.patch
1 --- php-5.3.27/ext/mysqli/mysqli_nonapi.c~      2013-11-20 00:19:11.000000000 +0200
2 +++ php-5.3.27/ext/mysqli/mysqli_nonapi.c       2013-11-20 00:19:44.725872552 +0200
3 @@ -73,7 +73,7 @@
4         zend_bool                       self_alloced = 0;
5  
6  
7 -#if !defined(MYSQL_USE_MYSQLND)
8 +#if 0 && !defined(MYSQL_USE_MYSQLND)
9         if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
10                 php_error_docref(NULL TSRMLS_CC, E_NOTICE,
11                                                 "Headers and client library minor version mismatch. Headers:%d Library:%ld",
12 --- php-5.3.27/ext/mysql/php_mysql.c~   2013-11-20 00:19:11.000000000 +0200
13 +++ php-5.3.27/ext/mysql/php_mysql.c    2013-11-20 00:20:01.719956531 +0200
14 @@ -704,7 +704,7 @@
15         zend_bool free_host=0, new_link=0;
16         long connect_timeout;
17  
18 -#if !defined(MYSQL_USE_MYSQLND)
19 +#if 0 && !defined(MYSQL_USE_MYSQLND)
20         if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
21                 php_error_docref(NULL TSRMLS_CC, E_NOTICE,
22                                                 "Headers and client library minor version mismatch. Headers:%d Library:%ld",