diff options
| author | David Cramer | 2011-04-06 16:34:34 -0700 |
|---|---|---|
| committer | David Cramer | 2011-04-06 16:34:34 -0700 |
| commit | 5542f52d7ca2bfda8bd5135476eef1f93164ed50 (patch) | |
| tree | 6e225a5494e368f15b7f49a28b654c29235921ac /debug_toolbar/panels/sql.py | |
| parent | 0556fd7b48c709b5ff803eff01e0dd7eb07ba3fc (diff) | |
| download | django-debug-toolbar-5542f52d7ca2bfda8bd5135476eef1f93164ed50.tar.bz2 | |
Transaction id tracing is not specific to psycopg2
Diffstat (limited to 'debug_toolbar/panels/sql.py')
| -rw-r--r-- | debug_toolbar/panels/sql.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debug_toolbar/panels/sql.py b/debug_toolbar/panels/sql.py index 0c36f48..7427101 100644 --- a/debug_toolbar/panels/sql.py +++ b/debug_toolbar/panels/sql.py @@ -162,8 +162,7 @@ class SQLDebugPanel(DebugPanel): trans_id = query.get('trans_id') last_trans_id = trans_ids.get(alias) - print trans_id, last_trans_id - if query['engine'] == 'psycopg2' and trans_id != last_trans_id: + if trans_id != last_trans_id: if last_trans_id: self._queries[i][1]['ends_trans'] = True trans_ids[alias] = trans_id |
