RE: [PEAR-DEV] DB::sqlite update

From: Date: Tue, 01 Jul 2003 12:29:20 +0000
Subject: RE: [PEAR-DEV] DB::sqlite update
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17880@lists.php.net to get a copy of this message
hi tomas > The function sql_last_error() always returns 1? > > The problem I see is that the function sqliteRaiseError() > doesn't handle the parameter right. It should be something like: > > $native_errno = ($errno === null) ? > sqlite_last_error($this->connection) : $errno; > $db_errno = $this->errorCode($native_errno); > return .. > > What the <driver>RaiseError() should provide is: the pear db > errno, the native errno and the native errmsg. In the next > future all this info will be avaible from a Pear DB Error > object by some new methods. > ... i will have a look at that. -urs

« previous php.pear.dev (#17880) next »