ID:               17015
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Oracle related
 Operating System: HP-Unix 11.X
 PHP Version:      4.1.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


Ora_do does not fail when there is no data returned, thus ora_error
and/or ora_errorcode does not return any errors either. This is an
expected behaviour. 


Previous Comments:
------------------------------------------------------------------------

[2002-05-05 10:41:56] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=17015&edit=1

Reply via email to