Skip to content

Add back logging of queries #524

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

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

bikeshedder
Copy link
Contributor

This fixes #492

I also tried adding this piece of code to Client::execute_raw but this did not work because it breaks the check_send test.

@sfackler
Copy link
Owner

Oh, nice call!

statement.name(),
params,
);
encode(client, &statement, params)?
Copy link
Owner

Choose a reason for hiding this comment

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

Same here.

statement.name(),
params,
);
encode(client, &statement, params)?
Copy link
Owner

Choose a reason for hiding this comment

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

Can you run the params through slice_iter here? That should minimize extra instantiations of encode.

Copy link
Owner

Choose a reason for hiding this comment

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

Nevermind, will require a bit more work to make that happen. I'll deal with it on my end.

@sfackler sfackler merged commit 0e41aea into sfackler:master Dec 16, 2019
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.

Missing logging after upgrading
2 participants