Re: cvs: php-src(PHP_5_1) /ext/pdo pdo_stmt.c

From: Date: Thu, 01 Dec 2005 20:03:20 +0000
Subject: Re: cvs: php-src(PHP_5_1) /ext/pdo pdo_stmt.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35577@lists.php.net to get a copy of this message
On 12/1/05, Antony Dovgal <tony2001@php.net> wrote: > + if (mode < 0 || mode > PDO_FETCH__MAX) { > + pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "invalid fetch > mode" TSRMLS_CC); > + return 0; > + } Shouldn't this check... > mode = mode & ~PDO_FETCH_FLAGS; be *after* this line? --Wez.

« previous php.cvs (#35577) next »