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

Driver doesn't support set/getCatalog() while MySQL does #34

Open
gilius38 opened this issue Sep 30, 2014 · 0 comments
Open

Driver doesn't support set/getCatalog() while MySQL does #34

gilius38 opened this issue Sep 30, 2014 · 0 comments

Comments

@gilius38
Copy link
Contributor

Calling setCatalog() in the drizzle jdbc driver leads to a no-op. Comments in the code state that drizzle doesn't support catalogs.
However, MySQL sort of supports catalogs by switching schemas
Thus, when connected to a MySQL server, the driver should transform setCatalog into "use " and return the connected database for getCatalog

gilius38 added a commit to gilius38/DrizzleJDBC that referenced this issue Oct 10, 2014
gilius38 added a commit to gilius38/DrizzleJDBC that referenced this issue Oct 10, 2014
krummas added a commit that referenced this issue Dec 29, 2014
Issue #34: support of setCatalog() for mysql connections
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

No branches or pull requests

1 participant