-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
New errors after switching from mysql module #3190
Comments
@wellwelwel Excelent answer, I was actually trying to extract a minimal reproduction example, which made me realize that those errors were never supposed to happen to begging with and were introduced by some changes I needed to make in my code to make things compile. Ignore everything I said, sorry for the spam :/ |
Hey @forty, I use labels to organize the issues, but I usually comment too (in that case, I would ask for a minimal reproduction, if possible) 🙋🏻♂️
No worries, feel free to ask questions, report errors and contribute to the project 🤝 |
Haha no worries, no comment was needed here, I actually saw the label when I came back to post my previous message, and thought it was spot on :) thank you! |
I'm trying to upgrade a large and old codebase using the mysql module to mysql2. I managed to have things compiling (we use TS) and kind of working (yeah!)
To limit the possible number of trouble, I added
to my config.
Now we have lot of failing test with mostly the following errors:
Those seem to be legitimate comptains but as this is tests, I don't really mind those wrong queries for now. It seems it was ignore with mysql library. Is it possible to get the same behavior with mysql2?
I suspect this has to do with sql_mode, but I could not find anything that either library would do with this parameter, so I'm a bit lost.
Thanks!
The text was updated successfully, but these errors were encountered: