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

allTableNames in VendorDialect returns all tables from all databases? #339

Closed
nixypanda opened this issue Jul 17, 2018 · 0 comments
Closed
Labels

Comments

@nixypanda
Copy link

Setup

  1. Database: MySql
  2. Datasource: Hikari
  3. I have a user named abc who has all accessess to 2 databases ab_c and ab_d.
  4. ab_c has a table named one.
  5. trying to create a table with same name one in ab_d.

Problem

I am unable to create a table named one in the db ab_d.

Possible Issue

Debugging through the codebase it seems like _allTableNames list attribute (set for the first time using allTableNames()) in VendorDialect is set to all the names in the storage and not limited to all the tables in the connected database, leading to the aforementioned problem.

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

No branches or pull requests

2 participants