fixed a minor problem with the sql filter

This commit is contained in:
mdipierro committed 2013-05-14 00:30:05 -05:00
1 parent 97ba47f339
commit d918a6b2e2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.4.6-stable+timestamp.2013.05.13.10.11.03 Version 2.4.6-stable+timestamp.2013.05.14.00.28.50
+1 -1
View File
@@ -1775,7 +1775,7 @@ class BaseAdapter(ConnectionPool):
LOGGER.debug('SQL: %s' % command) LOGGER.debug('SQL: %s' % command)
self.db._lastsql = command self.db._lastsql = command
t0 = time.time() t0 = time.time()
ret = self.cursor.execute(*a, **b) ret = self.cursor.execute(command,*a[1:], **b)
self.db._timings.append((command,time.time()-t0)) self.db._timings.append((command,time.time()-t0))
del self.db._timings[:-TIMINGSSIZE] del self.db._timings[:-TIMINGSSIZE]
return ret return ret