prisma / quaint

SQL Query AST and Visitor for Rust
Apache License 2.0
583 stars 61 forks source link

feat(mysql): pass prefer_socket to mysql driver #299

Closed pantharshit00 closed 3 years ago

pantharshit00 commented 3 years ago

This might fix https://github.com/prisma/prisma/issues/6207

Made a quick PR to pass prefer_socket to mysql_async so that users that want to disable SELECT @@socket call which the driver makes can do so.

pantharshit00 commented 3 years ago

Hmm, clippy is throwing warnings for the files which I didn't touch. Maybe new version of clippy introduced these lints? Or this action was broken? I fixed warning for the file I touched though.