Commit 84714dfe authored by Tim Graham's avatar Tim Graham
Browse files

[1.7.x] Fixed test failures due to refs #20420.

cfcca7cc renamed connection.queries
to queries_log and this wasn't backported to stable/1.7.x.
parent 910b37e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -694,7 +694,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
    # logging is enabled to keep query counts consistent with other backends.
    def _savepoint_commit(self, sid):
        if self.queries_logged:
            self.queries_log.append({
            self.queries.append({
                'sql': '-- RELEASE SAVEPOINT %s (faked)' % self.ops.quote_name(sid),
                'time': '0.000',
            })