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

temporary workaround for DROP DATABASE issue with currently used DB #582

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

eug3nix
Copy link
Collaborator

@eug3nix eug3nix commented Jan 21, 2025

1: do not change the active database when righ-clicking DB tree node 2: run get_tree_info and get_databases against template1 db when
loadingb DB object tree -> prevents actual DBs from getting "used"

refs: #581

1: do not change the active database when righ-clicking DB tree node
2: run get_tree_info and get_databases against template1 db when
   loadingb DB object tree -> prevents actual DBs from getting "used"

refs: #581
@eug3nix eug3nix requested a review from plucik January 21, 2025 15:39
@plucik plucik merged commit 4f0cee9 into dev Jan 22, 2025
plucik pushed a commit that referenced this pull request Jan 22, 2025
…582)

* temporary workaround for DROP DATABASE issue with currently used DB
1: do not change the active database when righ-clicking DB tree node
2: run get_tree_info and get_databases against template1 db when
   loadingb DB object tree -> prevents actual DBs from getting "used"

refs: #581

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

Successfully merging this pull request may close these issues.

2 participants