Revision 3244
Added by Aaron Marcuse-Kubitza over 12 years ago
sql.py | ||
---|---|---|
167 | 167 |
self.log_debug = log_debug |
168 | 168 |
self.debug = log_debug != log_debug_none |
169 | 169 |
self.debug_temp = debug_temp |
170 |
self.profile_row_ct = None |
|
170 | 171 |
self.src = src |
171 | 172 |
self.autoanalyze = False |
172 | 173 |
|
... | ... | |
373 | 374 |
else: self.do_autocommit() |
374 | 375 |
finally: |
375 | 376 |
if self.debug: |
376 |
profiler.stop() |
|
377 |
profiler.stop(self.profile_row_ct)
|
|
377 | 378 |
|
378 | 379 |
## Log or return query |
379 | 380 |
|
Also available in: Unified diff
sql.py: DbConn: Added profile_row_ct setting, which is passed to profiler.stop() in run_query()