Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

resolveDatabase is not working if database is changed using USE #810

Closed
ajnavarro opened this issue Aug 28, 2019 · 2 comments
Closed

resolveDatabase is not working if database is changed using USE #810

ajnavarro opened this issue Aug 28, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ajnavarro
Copy link
Contributor

ajnavarro commented Aug 28, 2019

related: #805

We need to handle database change on resolveDatabase rule. Right now is only resolving the current database.

@ajnavarro ajnavarro added the bug Something isn't working label Aug 28, 2019
@erizocosmico erizocosmico self-assigned this Sep 13, 2019
@erizocosmico
Copy link
Contributor

Can you provide a reproduction case for this? As far as I can see this behaviour is tested and working properly: https://github.com/src-d/go-mysql-server/blob/master/engine_test.go#L2657-L2672

@ajnavarro
Copy link
Contributor Author

I did some tests and I'm not able to reproduce the error anymore.

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

No branches or pull requests

2 participants