cvs: php-src(PHP_5_3) /ext/mysqli mysqli_nonapi.c
| From: | Andrey Hristov | Date: | Tue, 28 Oct 2008 15:59:43 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/mysqli mysqli_nonapi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53757@lists.php.net to get a copy of this message | ||
andrey Tue Oct 28 15:59:43 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mysqli mysqli_nonapi.c
Log:
Fix that instance too - mysql_get_client_version() returns unsigned long
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli_nonapi.c?r1=1.54.2.7.2.5.2.17&r2=1.54.2.7.2.5.2.18&diff_format=u
Index: php-src/ext/mysqli/mysqli_nonapi.c
diff -u php-src/ext/mysqli/mysqli_nonapi.c:1.54.2.7.2.5.2.17
php-src/ext/mysqli/mysqli_nonapi.c:1.54.2.7.2.5.2.18
--- php-src/ext/mysqli/mysqli_nonapi.c:1.54.2.7.2.5.2.17 Mon Oct 27 14:34:35 2008
+++ php-src/ext/mysqli/mysqli_nonapi.c Tue Oct 28 15:59:42 2008
@@ -17,7 +17,7 @@
| Ulf Wendel <uw@php.net> |
+----------------------------------------------------------------------+
- $Id: mysqli_nonapi.c,v 1.54.2.7.2.5.2.17 2008/10/27 14:34:35 andrey Exp $
+ $Id: mysqli_nonapi.c,v 1.54.2.7.2.5.2.18 2008/10/28 15:59:42 andrey Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -70,7 +70,7 @@
#if !defined(MYSQL_USE_MYSQLND)
if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING,
- "Headers and client library minor version mismatch. Headers:%d Library:%d",
+ "Headers and client library minor version mismatch. Headers:%d Library:%ld",
MYSQL_VERSION_ID, mysql_get_client_version());
}
#endif