Skip to content
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

Fixes #1240 properly spread callback args #1241

Merged
merged 2 commits into from
Feb 12, 2021
Merged

Conversation

bizob2828
Copy link
Contributor

@bizob2828 bizob2828 commented Feb 12, 2021

What does this PR do?

This properly spreads the callback args to fix #1240

Motivation

I want mysql2 support and use fields in my code

Plugin Checklist

  • Unit tests.

Additional Notes

I updated a test, but can't get tests to run locally.

@bizob2828 bizob2828 requested a review from a team as a code owner February 12, 2021 21:25
@bizob2828
Copy link
Contributor Author

I'm not sure if the checklist above is necessary for my change so I will defer to the maintainers of this agent

Copy link
Member

@rochdev rochdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! A few small things and then LGTM.

packages/datadog-plugin-mysql2/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-mysql2/test/index.spec.js Outdated Show resolved Hide resolved
@rochdev rochdev added bug Something isn't working community integrations labels Feb 12, 2021
@bizob2828
Copy link
Contributor Author

@rochdev curious on your release cadence. when would this bug fix get shipped?

@rochdev
Copy link
Member

rochdev commented Feb 12, 2021

when would this bug fix get shipped?

We're planning a release next Tuesday.

@rochdev rochdev merged commit 398fa01 into DataDog:master Feb 12, 2021
@rochdev rochdev added this to the 0.31.0 milestone Feb 12, 2021
@bizob2828
Copy link
Contributor Author

@rochdev also thank you for such a fast review/merge 🙏🏻

rochdev pushed a commit that referenced this pull request Feb 16, 2021
* Fixes #1240 properly spread callback args

* remove .only and simplify loggin error
@rochdev
Copy link
Member

rochdev commented Feb 16, 2021

Released in 0.31.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mysql2 does not properly return fields
2 participants