You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whose method invokes the $this->lastError(); even if there isn't errors.
So this is a problem because the odbc error reporting functions odbc_error and odbc_errormsg should be invoked only when odbc_exec() return false
Otherwise, in my case it gives random errors..
From php.net:
This function returns meaningful value only if last odbc query failed (i.e. odbc_exec() returned FALSE).
Created by dalpo, 19th Mar 2010. (originally Lighthouse ticket #18):
I encountered this problem trying to develop a MS Access datasource via odbc.
This is the problem:
DboOdbc::execute is inherited by DboSource::execute method...
Whose method invokes the $this->lastError(); even if there isn't errors.
So this is a problem because the odbc error reporting functions odbc_error and odbc_errormsg should be invoked only when odbc_exec() return false
Otherwise, in my case it gives random errors..
From php.net:
References:
I hope to be helpful and sorry for my bad English ^_^'
bye
The text was updated successfully, but these errors were encountered: