Skip to content

Conversation

@ElPeque
Copy link

@ElPeque ElPeque commented Nov 1, 2016

No description provided.

luizpvas and others added 30 commits November 8, 2015 01:12
…Also refactors auth response handling code into func to reduce some duplication of logic. Test requires a MySQL socket and user having privs to use it.
QueryUnescape the tlsConfig name during DSN parsing.
…et-auth-fail-broken-pipe-error

Fixes go-sql-driver#389 by not sending COM_QUIT until authenticated. Also refactor…
Pull recent changes from the main fork
Use Errorf instead of Error in the correct places
- use local attributes for timeouts
- do not type assert to net.Conn each time
- DSN params are CamelCase
Add readTimeout and writeTimeout params
- packets.go: flag clientMultiResults, update status when receiving an
EOF packet, discard additional results on readRow when EOF is reached
- statement.go: currently a nil rows.mc is used as an eof, don’t set it
if there are no columns to avoid that Next() waits indefinitely
- rows.go: discard additional results on close and avoid panic on
Columns()
pib and others added 27 commits March 2, 2016 18:46
```
$ go vet
driver_test.go:308: arg out for printf verb %t of wrong type: int
exit status 1
```
This sets attribute _client_name with the value "Go MySQL Driver"
Also sets _os, _platform, _pid and program_name by default.

This also decodes the uppper two bytes of the capability flags.

The dsn_test.go only tests for one attribute because there is no
guaranteed sort order for a map and Printf %+v as used by
TestDSNParser().
test and fix for MysSQL float parsing into float64 when placeholders are used
Fixes go-sql-driver#433
Fix dsn_test.go to work with Go 1.7
readUntilEOF should support ERR packet
Allows to set the driver-side max_packet_allowed value manually

* add docs

* add author, add test

* fix AUTHOR file and README

* change the param name from MaxPacketAllowed to MaxAllowedPacket

* fix maxAllowedPacket param name in README

* rename all maxPacketAllowed to maxAllowedPacket

* fix doc format

* fix doc

The strict mode may not be confused with the server-side strict mode
set via the sql_mode system variable.
Fixes go-sql-driver#376

* README: Set strict mode via sql_mode in DSN example
Also make linebreaks consistent
…on (go-sql-driver#494)

* Support authentication switch with mysql_native_password authentication. Besides, fix bug that cipher needs to refreshed from authentication switch request packet from server.

* revert connection.go which was modified by accident.

* Address comments.

* Keep DSN params sorted

* DSN: Add code to format allowNativePasswords
@ElPeque ElPeque merged commit 67a7252 into master Nov 1, 2016
@ElPeque ElPeque deleted the update-driver-20161101 branch November 1, 2016 14:26
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.