cvs: php-src(PHP_5_2) / NEWS /ext/mysqli mysqli_api.c
| From: | Ilia Alshanetsky | Date: | Sun, 04 Jun 2006 14:56:34 +0000 |
| Subject: | cvs: php-src(PHP_5_2) / NEWS /ext/mysqli mysqli_api.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38599@lists.php.net to get a copy of this message | ||
iliaa Sun Jun 4 14:56:34 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/mysqli mysqli_api.c
/php-src NEWS
Log:
Fixed bug #37671 (MySQLi extension fails to recognize BIT column).
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysqli/mysqli_api.c?r1=1.118.2.22.2.3&r2=1.118.2.22.2.4&diff_format=u
Index: php-src/ext/mysqli/mysqli_api.c
diff -u php-src/ext/mysqli/mysqli_api.c:1.118.2.22.2.3
php-src/ext/mysqli/mysqli_api.c:1.118.2.22.2.4
--- php-src/ext/mysqli/mysqli_api.c:1.118.2.22.2.3 Mon May 29 05:38:50 2006
+++ php-src/ext/mysqli/mysqli_api.c Sun Jun 4 14:56:34 2006
@@ -15,7 +15,7 @@
| Author: Georg Richter <georg@php.net> |
+----------------------------------------------------------------------+
- $Id: mysqli_api.c,v 1.118.2.22.2.3 2006/05/29 05:38:50 georg Exp $
+ $Id: mysqli_api.c,v 1.118.2.22.2.4 2006/06/04 14:56:34 iliaa Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -294,6 +294,9 @@
case MYSQL_TYPE_LONG:
case MYSQL_TYPE_INT24:
case MYSQL_TYPE_YEAR:
+#if MYSQL_VERSION_ID > 50002
+ case MYSQL_TYPE_BIT:
+#endif
convert_to_long_ex(args[i]);
stmt->result.buf[ofs].type = IS_LONG;
/* don't set stmt->result.buf[ofs].buflen to 0, we used ecalloc */
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.547.2.73&r2=1.2027.2.547.2.74&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.73 php-src/NEWS:1.2027.2.547.2.74
--- php-src/NEWS:1.2027.2.547.2.73 Thu Jun 1 19:14:48 2006
+++ php-src/NEWS Sun Jun 4 14:56:34 2006
@@ -49,6 +49,7 @@
- Added RFC2397 (data: stream) support. (Marcus)
- Fixed memory leaks in openssl streams context options (Pierre)
- Fixed handling of extremely long paths inside tempnam() function. (Ilia)
+- Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia)
- Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike)
- Fixed bug #37632 (Protected method access problem). (Marcus)
- Fixed bug #37630 (MySQL extensions should link against thread safe client