##// END OF EJS Templates
core: add dedicated flag to debug sql queries instead of rely of debug flag which is for something else.
marcink -
r4141:72477738 default
parent child Browse files
Show More
@@ -370,7 +370,7 b' def engine_from_config(configuration, pr'
370 """Custom engine_from_config functions."""
370 """Custom engine_from_config functions."""
371 log = logging.getLogger('sqlalchemy.engine')
371 log = logging.getLogger('sqlalchemy.engine')
372 use_ping_connection = asbool(configuration.pop('sqlalchemy.db1.ping_connection', None))
372 use_ping_connection = asbool(configuration.pop('sqlalchemy.db1.ping_connection', None))
373 debug = asbool(configuration.get('debug'))
373 debug = asbool(configuration.pop('sqlalchemy.db1.debug_query', None))
374
374
375 engine = sqlalchemy.engine_from_config(configuration, prefix, **kwargs)
375 engine = sqlalchemy.engine_from_config(configuration, prefix, **kwargs)
376
376
General Comments 0
You need to be logged in to leave comments. Login now