ID: 8089
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Assigned To: 
Comments:

According to phobo <[EMAIL PROTECTED]>,
ODBC Error functions are now written as of php404.

--Jani


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

[2000-12-04 02:00:27] [EMAIL PROTECTED]
I am having a problem because ODBC error messages are sent to standard output and 
there doesn't seem to be a function to capture the ODBC error message. 

May i suggest a new ODBC function ODBC_Error() which saves the last error message for 
each connection.

Eg. 

$ok = ODBC_Execute($id,'select * from badtable');
if (!$ok) LogError(ODBC_Error($id));

This can be implemented in php_odbc.c, presumbly by modifying the odbc_sql_error 
function.

461 void odbc_sql_error(ODBC_SQL_ERROR_PARAMS)



---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8089&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to