#20733 [NEW]: Log: Missing error check when inserting log into database

From: Date: Sat, 30 Nov 2002 10:56:12 +0000
Subject: #20733 [NEW]: Log: Missing error check when inserting log into database
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11260@lists.php.net to get a copy of this message
From: hopfgartner@rolmail.net Operating system: PHP version: 4.3.0RC2 PHP Bug Type: PEAR related Bug description: Log: Missing error check when inserting log into database Log 1.5.2 File Log/sql.php No error is checked when submitting the INSERT statement containing the Log message. It could help diagnose problems if this would look like: $res = $this->_db->query($q); if (DB::isError($res)) { die($res->getMessage()); } Regards, Peter Hopfgartner -- Edit bug report at http://bugs.php.net/?id=20733&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20733&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20733&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20733&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20733&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20733&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20733&r=support Expected behavior: http://bugs.php.net/fix.php?id=20733&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20733&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20733&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20733&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20733&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20733&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20733&r=isapi

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