Skip to content

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 57 commits into from
Mar 13, 2015
Merged

Conversation

Preetam
Copy link

@Preetam Preetam commented Feb 26, 2015

Placeholder interpolation is useful: go-sql-driver#309

methane and others added 30 commits January 1, 2015 05:53
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
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%
methane and others added 27 commits February 10, 2015 16:36
Use new container based Travis instance
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
Support receiving ERR packet while reading rows
Preetam added a commit that referenced this pull request Mar 13, 2015
@Preetam Preetam merged commit 9d293bd into VividCortex:master Mar 13, 2015
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.

7 participants