On 16-06-2013 08:44, Mark Rotteveel wrote: > I need some help with handling isc_info_truncated when retrieving > statement prepare info (the request includes both isc_info_sql_select > and isc_info_sql_bind) > > Specifically I need to know where to put the isc_info_sql_sqlda_start > items when both isc_info_sql_select and isc_info_sql_bind are present. > > I looked at the .NET provider implementation, and it inserts the first > one at the start of the information request block, and the second one > just after the first isc_info_sql_describe_end. Is that the right way to > do it, or are there more rules associated with this? >
Look at this class: https://github.com/asfernandes/firebird/blob/master/src/common/StatementMetadata.cpp It's a refactor/recreation of the previous code in the yvalve, surely easier to understand. Adriano ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
