Bug #17015: Ora_Error/Ora_ErrorCode
| From: | sparasker at hotmail dot com | Date: | Sun, 05 May 2002 14:41:56 +0000 |
| Subject: | Bug #17015: Ora_Error/Ora_ErrorCode | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6953@lists.php.net to get a copy of this message | ||
From: sparasker@hotmail.com
Operating system: HP-Unix 11.X
PHP version: 4.1.2
PHP Bug Type: Oracle related
Bug description: Ora_Error/Ora_ErrorCode
When checking for errors after Ora_Do, if the table is empty, neither of
them (ora_error/ora_errorcode) return 1403 (no data found). Following is
sample code:
$query = "select * from test_table ";
$qCursor = Ora_Do($oraConn, $query);
$qError = Ora_ErrorCode($query);
// $qError = Ora_Error($query);
echo "Error = >".$qError."< \n";
--
Edit bug report at http://bugs.php.net/?id=17015&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17015&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17015&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17015&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17015&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17015&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17015&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17015&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17015&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17015&r=globals