Created
August 23, 2016 03:42
-
-
Save GitHub30/beda9073ae468b78b7f46cdf69ea82b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL_MODES = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'.split(',') | |
if 'STRICT_TRANS_TABLES' in SQL_MODES: | |
SQL_MODES.remove('STRICT_TRANS_TABLES') | |
','.join(SQL_MODES) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment