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

Switching between same named databases doesn't change the tables #535

Open
abelzis opened this issue Feb 8, 2024 · 2 comments
Open

Switching between same named databases doesn't change the tables #535

abelzis opened this issue Feb 8, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@abelzis
Copy link
Collaborator

abelzis commented Feb 8, 2024

I have 2 sports2020 databases. Switching between them queries the same database.

Steps to reproduce:

  1. have 2 sports2020 databases (e.g. local one and one from the docker image). Make sure they're named the same
  2. Make sure the databases are different (e.g. add a few new records to a table)
  3. Select database A, then select database B.
  4. Observe that the tables are loaded from the database A. Also records when queried are also loaded form the database A.
@abelzis abelzis added the bug Something isn't working label Feb 8, 2024
@PauliusJaskutelis
Copy link
Collaborator

Tried to replicate the bug, with one database in docker and another running locally, both having same name.
Seems like the bug got fixed in another issue. Table are updated after selecting another database with the same name. Although you need to rerun query for that selected table to get the correct record in the webview.
Closing this issue.

@PauliusJaskutelis
Copy link
Collaborator

By double clicking the table, reproduced the issue with same name databases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants