Merge "Remove default setting of 'mysql_traditional_mode'"

This commit is contained in:
Jenkins
2014-12-18 21:20:18 +00:00
committed by Gerrit Code Review

View File

@@ -257,8 +257,6 @@ class SQLAlchemyBackend(base.Backend):
if _as_bool(conf.pop('checkout_ping', True)):
sa.event.listen(engine, 'checkout', _ping_listener)
mode = None
if _as_bool(conf.pop('mysql_traditional_mode', True)):
mode = 'TRADITIONAL'
if 'mysql_sql_mode' in conf:
mode = conf.pop('mysql_sql_mode')
if mode is not None: