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

Regression: gstat with switch -t executed via services fails with "found unknown switch" error [CORE6499] #6729

Closed
firebird-automations opened this issue Feb 26, 2021 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pcisar

Found via firebird-driver that uses new OO API. When gstat is executed via services, the -t <table-name> switch is passed via SPB tag COMMAND_LINE (105) followed by string containing '-t tablename'. This works just fine with firebird 3.0.5, 3.0.6 and 4.0 Beta 2, but fails on 3.0.7 and 4.0 RC1 with "found unknown switch" error message.

Commits: f0c193d 6d8be2c

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 4.0.0 [ 10931 ]

Fix Version: 3.0.8 [ 10960 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Pavel, I've fixed that backward compatibility bug, but it's much better to pass that option in SPB as string with tag isc_spb_sts_table and value - that table name. That was broken by Borland sometimes ago but works fine for a long time in FB.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

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