Revision 2916
Added by Aaron Marcuse-Kubitza over 12 years ago
map | ||
---|---|---|
133 | 133 |
def connect_db(db_config): |
134 | 134 |
log('Connecting to '+sql.db_config_str(db_config)) |
135 | 135 |
return sql.connect(db_config, caching=cache_sql, |
136 |
autocommit=verbosity > 3 and commit, log_debug=log_debug)
|
|
136 |
debug_temp=verbosity > 3 and commit, log_debug=log_debug)
|
|
137 | 137 |
|
138 | 138 |
if end != None: end_str = str(end-1) # end is one past the last # |
139 | 139 |
else: end_str = 'end' |
Also available in: Unified diff
sql.py: Use new DbConn.debug_temp config option to control whether temporary objects should instead be permanent