Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isc_dsql_sql_info() returns unordered SQLVAR descriptors [CORE1094] #1516

Closed
firebird-automations opened this issue Jan 17, 2007 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Component: API / Client Library [ 10040 ]

Component: Engine [ 10000 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Reopened to update ticket information.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Fixed [ 1 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Fix Version: 2.1 Alpha 1 [ 10150 ]

Fix Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Reopened [ 4 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11507 ] => Firebird [ 15496 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment