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

API to get current shutdown/online mode of database [CORE5247] #5526

Open
firebird-automations opened this issue May 20, 2016 · 4 comments
Open

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @cincuranet

Votes: 1

Similarly to setting it with `isc_action_svc_properties` it would be nice to have an option to query for it.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

I suppose you expect getting "full shutdown" and "single-user shutdown" modes too. So implementing it via isc_database_info() does not make any sense, as your connection won't succeed. The only solution seems to be Services API which internally reads the database header directly.

@firebird-automations
Copy link
Collaborator Author

Commented by: @cincuranet

Yes, Services API was in my mind.

@firebird-automations
Copy link
Collaborator Author

Commented by: Stefan Heymann (stefanheymann)

Any news on this one? It's difficult to write a tool that shows the current shutdown/online mode without that.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

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

No branches or pull requests

2 participants