Julien Schmidt
Julien Schmidt
### Description This PR includes a collection of different kinds of fixes (see commit messages below) to issues found with the help of several linters, ranging from missing error checks,...
Among other things, #552 proposed an API for registering custom auth plugins. While some of the changes in #552 have been implemented when we improved the auth handling (#807), the...
`EOF` packets are deprecated. MySQL servers 5.7.5 and up instead send OK packets that signal an EOF, if the client advertises support: https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_ok_packet.html
Allow users to specify a auth plugin in the DSN which is then used initially instead of the server's default auth plugin. Doing so can eliminate 1 roundtrip during the...
MariaDB and Percona Server use the [dialog](https://mariadb.com/kb/en/library/development-pluggable-authentication/#dialog-client-plugin) auth plugin instead of MySQL's `mysql_cleartext_password` plugin for PAM authentication. This driver should come with built-in support, as PAM authentication is rather common....
### Issue description In some cases it might be undesirable to fetch a potentially huge resultset at once. MySQL provides cursors for that in the binary protocol (prepared statements). First,...
### Issue description GitHub changed how issue templates work. We should [update ours](https://github.com/go-sql-driver/mysql/blob/master/.github/ISSUE_TEMPLATE.md): > You are using an old version of issue templates. Please update to the new issue template...
While looking through the code, I noticed that the lexer runs its main loop its own goroutine: ```go func lex(input string) (*lexer, error) { ... l := &lexer{ input: input,...
This PR adds two new packages: - [pat](https://github.com/bmizerany/pat) by Keith Rarick and Blake Mizerany - My own very new package [HttpRouter](https://github.com/julienschmidt/httprouter) Moreover I'd suggest to also measure heap allocs (`-benchmem`...