Subject | fb_sqlstate and isc_sql_interprete |
---|---|
Author | Lucio Grenzi |
Post date | 2010-10-11T11:36:21Z |
Good morning,
I recenty downloaded FB 2.5 and, reading the release notes, I noted that now
isc_sql_code is deprecated.
Thus, old code to detect and show error is:
isc_inteprete
isc_sqlcode
isc_sql_interprete
isc_interprete is deprecated from 2.1 and substituted to fb_interpret
isc_sqlcode is deprecated from 2.5 and substituted to fb_sqlstate
But ..
fb_sqlstate returns a char*, while isc_sql_interprete needs an integer as input
parameter.
So my question is:
Do I need to change isc_sql_interprete to fb_intrepet? So is isc_sql_interprete
decprecated too?
Regards
Lucio
________________________________
[Non-text portions of this message have been removed]
I recenty downloaded FB 2.5 and, reading the release notes, I noted that now
isc_sql_code is deprecated.
Thus, old code to detect and show error is:
isc_inteprete
isc_sqlcode
isc_sql_interprete
isc_interprete is deprecated from 2.1 and substituted to fb_interpret
isc_sqlcode is deprecated from 2.5 and substituted to fb_sqlstate
But ..
fb_sqlstate returns a char*, while isc_sql_interprete needs an integer as input
parameter.
So my question is:
Do I need to change isc_sql_interprete to fb_intrepet? So is isc_sql_interprete
decprecated too?
Regards
Lucio
________________________________
[Non-text portions of this message have been removed]