Revision 1900
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/map | ||
---|---|---|
106 | 106 |
|
107 | 107 |
def connect_db(db_config): |
108 | 108 |
log_start('Connecting to '+sql.db_config_str(db_config)) |
109 |
return sql.connect(db_config) |
|
109 |
return sql.connect(db_config, debug=debug)
|
|
110 | 110 |
|
111 | 111 |
if end != None: end_str = str(end-1) |
112 | 112 |
else: end_str = 'end' |
Also available in: Unified diff
bin/map: Pass debug mode to DbConn so that SQL query debugging works again