This adds the SQL mode compat logic to the *.sql file that is being used to run db import.
However, this only works if an actual file is being loaded. It doesn't take into account the use case where we use - as the file and then pipe SQL code directly into mysql. Trying to cover this case as well might open up a whole new can of worms and should be handled separately. See #171
This adds the SQL mode compat logic to the
*.sql
file that is being used to rundb import
.However, this only works if an actual file is being loaded. It doesn't take into account the use case where we use
-
as the file and then pipe SQL code directly intomysql
. Trying to cover this case as well might open up a whole new can of worms and should be handled separately. See #171