forked from go-sql-driver/mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
Pull updates from upstream #4
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Currently the driver discards the column alias and the original table name. This change adds a new configuration parameter to include the table alias with the column name. This is useful because when mapping columns to structs, it is impossible to distinguish between duplicate column names when doing JOIN queries.
Add support for returning table alias on Columns()
Conflicts: connection.go utils_test.go
fix type (comRegiserSlave -> comRegisterSlave)
add myself to the AUTHORS file
fix a typo
update the AUTHORS file for a fix #311
"DROP TABLE IF EXISTS ..." query fails on fresh database.
benchmark old ns/op new ns/op delta BenchmarkInterpolation 4065 2533 -37.69% benchmark old allocs new allocs delta BenchmarkInterpolation 15 6 -60.00% benchmark old bytes new bytes delta BenchmarkInterpolation 1144 560 -51.05%
benchmark old ns/op new ns/op delta BenchmarkInterpolation 2536 2209 -12.89% benchmark old allocs new allocs delta BenchmarkInterpolation 6 4 -33.33% benchmark old bytes new bytes delta BenchmarkInterpolation 560 496 -11.43%
benchmark old ns/op new ns/op delta BenchmarkInterpolation 2209 2116 -4.21% benchmark old allocs new allocs delta BenchmarkInterpolation 4 3 -25.00% benchmark old bytes new bytes delta BenchmarkInterpolation 496 464 -6.45%
benchmark old ns/op new ns/op delta BenchmarkInterpolation 2463 2118 -14.01% benchmark old allocs new allocs delta BenchmarkInterpolation 3 2 -33.33% benchmark old bytes new bytes delta BenchmarkInterpolation 496 448 -9.68%
It's faster.
Use new container based Travis instance
Placeholder interpolation
README: Update requirements to Go 1.2
benchmark old ns/op new ns/op delta BenchmarkInterpolation 1900 1363 -28.26% benchmark old allocs new allocs delta BenchmarkInterpolation 2 1 -50.00% benchmark old bytes new bytes delta BenchmarkInterpolation 448 160 -64.29%
Use mc.buf as scratchpad for intarpolation
README: Update encoding blacklisting for interpolateParams
Update CHANGELOG.md
Support receiving ERR packet while reading rows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Placeholder interpolation is useful: go-sql-driver#309