Subject | Meaning of fb_interpret parameters |
---|---|
Author | grenzil |
Post date | 2009-04-18T15:57:35Z |
Good morning,
I recently decide to remove procedure isc_interprete to fb_interpret, but it looks like there are some problems
I've tried with 2.0.4,2.0.5,2.1.1 and 2.1.2 embedded version but fb_interpret seems not return any error, while isc_interprete returns all error, as expected.
To try this create a project but do not creare any .fdb file.
Just a simple example
isc_attach_database
fb_interpret
isc_sqlcode
isc_sql_interprete
After calling isc_attach_database function you should call fb_interpret to check if there are errors (in this case firebird should raise error -902).
fb_interpret
returns 0
buffer is empty
bufsize is 0
Status vector stored info parse by isc_sqlcode and isc_sql_interprete
which result is error 902 message ...
isc_interprete
returns 50
buffer display a message error (Error 902 message ..)
Status vector stored info parse by isc_sqlcode and isc_sql_interprete
which result is error 902 message ...
So my question is .. What are the meaning of fb_intpret parameters?
Best regards
Lucio
I recently decide to remove procedure isc_interprete to fb_interpret, but it looks like there are some problems
I've tried with 2.0.4,2.0.5,2.1.1 and 2.1.2 embedded version but fb_interpret seems not return any error, while isc_interprete returns all error, as expected.
To try this create a project but do not creare any .fdb file.
Just a simple example
isc_attach_database
fb_interpret
isc_sqlcode
isc_sql_interprete
After calling isc_attach_database function you should call fb_interpret to check if there are errors (in this case firebird should raise error -902).
fb_interpret
returns 0
buffer is empty
bufsize is 0
Status vector stored info parse by isc_sqlcode and isc_sql_interprete
which result is error 902 message ...
isc_interprete
returns 50
buffer display a message error (Error 902 message ..)
Status vector stored info parse by isc_sqlcode and isc_sql_interprete
which result is error 902 message ...
So my question is .. What are the meaning of fb_intpret parameters?
Best regards
Lucio