Skip to content

Fix database picker not changing query editor context (#92)#95

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/database-picker-context
Mar 17, 2026
Merged

Fix database picker not changing query editor context (#92)#95
erikdarlingdata merged 1 commit intodevfrom
fix/database-picker-context

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Rebuild connection string from current _serverConnection + _selectedDatabase at query execution time
  • Eliminates any edge case where cached _connectionString could be stale after changing the database picker

Test plan

  • Connect to server, run SELECT DB_NAME(), change database picker, run again — returns new database name
  • Build: 0 errors

Closes #92

🤖 Generated with Claude Code

Rebuild connection string from current database selection at execution
time rather than relying on cached _connectionString from SelectionChanged.
Guarantees the picker state is always reflected when running queries.

Closes #92

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit ce1dd3c into dev Mar 17, 2026
2 checks passed
This was referenced Mar 17, 2026
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.

1 participant