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
If the output information doesn't fit the supplied buffer, isc_info_truncated is returned and the caller is expected to try again starting with the last succeeded SQLVAR index + 1. isc_info_sql_sqlda_seq tag is used to specify the starting index to fill the next chunk. But the engine returns descriptors in no particular order (that depends on pass1.cpp internals), thus breaking the entire meaning of isc_info_sql_sqlda_seq. The only workaround is to allocate a 32K buffer and retry to get the whole information, but the Y-valve relies on the isc_info_sql_sqlda_seq approach (the same for Jaybird).
Submitted by: @dyemanov
If the output information doesn't fit the supplied buffer, isc_info_truncated is returned and the caller is expected to try again starting with the last succeeded SQLVAR index + 1. isc_info_sql_sqlda_seq tag is used to specify the starting index to fill the next chunk. But the engine returns descriptors in no particular order (that depends on pass1.cpp internals), thus breaking the entire meaning of isc_info_sql_sqlda_seq. The only workaround is to allocate a 32K buffer and retry to get the whole information, but the Y-valve relies on the isc_info_sql_sqlda_seq approach (the same for Jaybird).
Commits: 550df18 561c381
The text was updated successfully, but these errors were encountered: