Revision 2466
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
300 | 300 |
if used_cache: cache_status = 'Cache hit' |
301 | 301 |
elif cacheable: cache_status = 'Cache miss' |
302 | 302 |
else: cache_status = 'Non-cacheable' |
303 |
debug_msg_ref[0] = cache_status+': '+str(get_cur_query(cur,
|
|
303 |
debug_msg_ref[0] = cache_status+':\n'+str(get_cur_query(cur,
|
|
304 | 304 |
query, params)).rstrip() |
305 | 305 |
|
306 | 306 |
return cur |
Also available in: Unified diff
sql.py: DbConn.run_query(): Put a newline before the query in the debug message so that multiline queries have all rows at the left edge rather than the first row prefixed by other text