cvs: php-src(PHP_5_1) /ext/mysqli mysqli_api.c
| From: | Andrey Hristov | Date: | Sun, 01 Jan 2006 16:55:02 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/mysqli mysqli_api.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36334@lists.php.net to get a copy of this message | ||
andrey Sun Jan 1 16:55:02 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/mysqli mysqli_api.c
Log:
WS
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysqli/mysqli_api.c?r1=1.118.2.15&r2=1.118.2.16&diff_format=u
Index: php-src/ext/mysqli/mysqli_api.c
diff -u php-src/ext/mysqli/mysqli_api.c:1.118.2.15 php-src/ext/mysqli/mysqli_api.c:1.118.2.16
--- php-src/ext/mysqli/mysqli_api.c:1.118.2.15 Sun Jan 1 12:50:09 2006
+++ php-src/ext/mysqli/mysqli_api.c Sun Jan 1 16:55:01 2006
@@ -15,7 +15,7 @@
| Author: Georg Richter <georg@php.net> |
+----------------------------------------------------------------------+
- $Id: mysqli_api.c,v 1.118.2.15 2006/01/01 12:50:09 sniper Exp $
+ $Id: mysqli_api.c,v 1.118.2.16 2006/01/01 16:55:01 andrey Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -653,7 +653,7 @@
for (i = 0; i < stmt->result.var_cnt; i++) {
/* Even if the string is of length zero there is one byte alloced so efree() in all cases */
if (Z_TYPE_P(stmt->result.vars[i]) == IS_STRING) {
- efree(stmt->result.vars[i]->value.str.val);
+ efree(stmt->result.vars[i]->value.str.val);
}
if (!stmt->result.is_null[i]) {
switch (stmt->result.buf[i].type) {
@@ -707,7 +707,7 @@
ZVAL_LONG(stmt->result.vars[i], llval);
}
} else {
- ZVAL_STRINGL(stmt->result.vars[i], stmt->result.buf[i].val,
stmt->result.buf[i].buflen, 1);
+ ZVAL_STRINGL(stmt->result.vars[i], stmt->result.buf[i].val,
stmt->result.buf[i].buflen, 1);
}
break;
default: