-
Notifications
You must be signed in to change notification settings - Fork 294
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
MySQL fields not returned #1113
Comments
I believe the bug is here: dd-trace-js/packages/datadog-plugin-mysql/src/index.js Lines 59 to 71 in 40e5617
I assume this should have the same callback parameters as the mysql library. I have tried to use your tests to verify this but have not been able to get the tests to run - firstly seemed I had to use node 8, and even then have errors from node-gyp when building the couchbase module 🤷♂️ |
In addition to this we can see an error in DataDog caused by our application code calling
|
Describe the bug
The
mysql
module's query function has three parameters in the callback as shown by the example in the READMEhttps://github.com/mysqljs/mysql#introduction
It appears that when using dd-trace-js that the final
fields
parameter is undefined.Environment
node:12.12.0-alpine
The text was updated successfully, but these errors were encountered: