Subject | Re: To Dmitry Y, Re: [firebird-support] Bug with character sets |
---|---|
Author | Dmitry Yemanov |
Post date | 2009-05-20T11:03:36Z |
Martijn Tonies wrote:
except the very early days). In order to get more detailed information,
there are special tags for isc_dsql_sql_info(). For example, it can
deliver you all the information necessary to manually fill the XSQLDA
(this is basically what fbclient does behind the scene). So, unless
we're speaking about a whole new API, I don't think that such changes to
XSQLDA are a good idea. Just ask us about adding a new statement
information tag and use the proper API call instead. Yes, this is an
extra round-trip to the server. But, believe me or not, this isn't an
API defect but rather a feature ;-)
Dmitry
>XSQLDA alone was never able to satisfy the API level developers (maybe
> Currently, there appears to be no
> way to know what to pass from the API to the caller application, -unless-
> you query a system metadata tables and do some calculations. This sounds
> like an API defect.
except the very early days). In order to get more detailed information,
there are special tags for isc_dsql_sql_info(). For example, it can
deliver you all the information necessary to manually fill the XSQLDA
(this is basically what fbclient does behind the scene). So, unless
we're speaking about a whole new API, I don't think that such changes to
XSQLDA are a good idea. Just ask us about adding a new statement
information tag and use the proper API call instead. Yes, this is an
extra round-trip to the server. But, believe me or not, this isn't an
API defect but rather a feature ;-)
Dmitry