cvs: php-src /ext/mysqli mysqli_api.c

From: Date: Mon, 09 May 2005 22:29:54 +0000
Subject: cvs: php-src /ext/mysqli mysqli_api.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31810@lists.php.net to get a copy of this message
andrey Mon May 9 18:29:54 2005 EDT Modified files: /php-src/ext/mysqli mysqli_api.c Log: after throwing an warning bail out http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_api.c?r1=1.114&r2=1.115&ty=u Index: php-src/ext/mysqli/mysqli_api.c diff -u php-src/ext/mysqli/mysqli_api.c:1.114 php-src/ext/mysqli/mysqli_api.c:1.115 --- php-src/ext/mysqli/mysqli_api.c:1.114 Mon May 9 17:48:03 2005 +++ php-src/ext/mysqli/mysqli_api.c Mon May 9 18:29:54 2005 @@ -15,7 +15,7 @@ | Author: Georg Richter <georg@php.net> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.114 2005/05/09 21:48:03 andrey Exp $ + $Id: mysqli_api.c,v 1.115 2005/05/09 22:29:54 andrey Exp $ */ #ifdef HAVE_CONFIG_H @@ -1521,7 +1521,8 @@ return; } if (offset < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset must be positive"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset must be positive"); + RETURN_FALSE; } MYSQLI_FETCH_RESOURCE(stmt, MY_STMT *, &mysql_stmt, "mysqli_stmt");

« previous php.cvs (#31810) next »