[1.7.x] Fixed test failures due to refs #20420.
cfcca7ccce
renamed connection.queries
to queries_log and this wasn't backported to stable/1.7.x.
This commit is contained in:
parent
910b37e356
commit
84714dfed7
|
@ -694,7 +694,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
|
||||||
# logging is enabled to keep query counts consistent with other backends.
|
# logging is enabled to keep query counts consistent with other backends.
|
||||||
def _savepoint_commit(self, sid):
|
def _savepoint_commit(self, sid):
|
||||||
if self.queries_logged:
|
if self.queries_logged:
|
||||||
self.queries_log.append({
|
self.queries.append({
|
||||||
'sql': '-- RELEASE SAVEPOINT %s (faked)' % self.ops.quote_name(sid),
|
'sql': '-- RELEASE SAVEPOINT %s (faked)' % self.ops.quote_name(sid),
|
||||||
'time': '0.000',
|
'time': '0.000',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue