From: [EMAIL PROTECTED] 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