We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Code (master) emits connection only, not with error argument: https://github.com/felixge/node-mysql/blob/master/lib/Pool.js#L51
Readme gives example with error argument: https://github.com/felixge/node-mysql#pooling-connections
pool.on('connection', function(err, connection) { connection.query('SET SESSION auto_increment_increment=1') });
The text was updated successfully, but these errors were encountered:
The behavior you are seeing in the code is correct, it is the documentation that is incorrect and needs to be changed.
Sorry, something went wrong.
a3b824d
Merge pull request #601 from nanek/fix-readme
29e36bc
Fixes #599 Updates readme.
Successfully merging a pull request may close this issue.
Code (master) emits connection only, not with error argument:
https://github.com/felixge/node-mysql/blob/master/lib/Pool.js#L51
Readme gives example with error argument:
https://github.com/felixge/node-mysql#pooling-connections
The text was updated successfully, but these errors were encountered: