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

Make ti version usable without selecting database #545

Merged
merged 1 commit into from
Jan 5, 2019
Merged

Conversation

birdstorm
Copy link
Contributor

Fix #543

@birdstorm
Copy link
Contributor Author

/run-all-tests

Copy link
Contributor

@ilovesoup ilovesoup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this change? Does it involve reflection?

@birdstorm
Copy link
Contributor Author

@ilovesoup We do, because TiResolutionRule is implied when extension is set. changing it from lazy will make TiContext be initialized in injection state, before we use use $database statement.

@zhexuany zhexuany merged commit 0e214c4 into master Jan 5, 2019
@zhexuany zhexuany deleted the fix_ti_version branch January 5, 2019 13:46
wfxxh pushed a commit to wanfangdata/tispark that referenced this pull request Jun 30, 2023
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.

3 participants