pollita Wed Jul 21 23:23:33 2004 EDT Modified files: /php-src/ext/mysqli mysqli_api.c Log: This should fix binary safety for bound results or may coogle strike me down. http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_api.c?r1=1.89&r2=1.90&ty=u Index: php-src/ext/mysqli/mysqli_api.c diff -u php-src/ext/mysqli/mysqli_api.c:1.89 php-src/ext/mysqli/mysqli_api.c:1.90 --- php-src/ext/mysqli/mysqli_api.c:1.89 Mon Jul 19 03:19:40 2004 +++ php-src/ext/mysqli/mysqli_api.c Wed Jul 21 23:23:33 2004 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.89 2004/07/19 07:19:40 andi Exp $ + $Id: mysqli_api.c,v 1.90 2004/07/22 03:23:33 pollita Exp $ */ #ifdef HAVE_CONFIG_H @@ -629,7 +629,7 @@ ZVAL_LONG(stmt->result.vars[i], llval); } } else { - ZVAL_STRING(stmt->result.vars[i], stmt->result.buf[i].val, 1); + ZVAL_STRINGL(stmt->result.vars[i], stmt->result.buf[i].val, stmt->result.buf[i].buflen, 1); } break; default:
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php