From d918a6b2e27c1aece02959f74c73640302e61f05 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 14 May 2013 00:30:05 -0500 Subject: [PATCH] fixed a minor problem with the sql filter --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9598cb17..7026e79c 100644 --- a/VERSION +++ b/VERSION @@ -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 diff --git a/gluon/dal.py b/gluon/dal.py index 82bada16..e43348f9 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -1775,7 +1775,7 @@ class BaseAdapter(ConnectionPool): LOGGER.debug('SQL: %s' % command) self.db._lastsql = command 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)) del self.db._timings[:-TIMINGSSIZE] return ret