diff options
Diffstat (limited to 'debug_toolbar/panels')
| -rw-r--r-- | debug_toolbar/panels/sql.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/panels/sql.py b/debug_toolbar/panels/sql.py index 0fac42b..ff63b6f 100644 --- a/debug_toolbar/panels/sql.py +++ b/debug_toolbar/panels/sql.py @@ -197,7 +197,7 @@ class SQLDebugPanel(DebugPanel):                  i += 1              if trans_id: -                self._queries[i][1]['ends_trans'] = True +                self._queries[i-1][1]['ends_trans'] = True          context = self.context.copy()          context.update({  | 
