From 5ed41285c0649f814ac711cc5ea01da0bc7a2287 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 18 Sep 2012 13:35:47 -0500 Subject: [PATCH] possibly fixed issue 1016 --- VERSION | 2 +- gluon/dal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 77bcb6a6..a2d13ead 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-17 21:37:10) stable +Version 2.0.9 (2012-09-18 13:35:42) stable diff --git a/gluon/dal.py b/gluon/dal.py index 5de7d881..ca4a6768 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -4027,8 +4027,8 @@ class GoogleSQLAdapter(UseDatabaseStoredFile,MySQLAdapter): self.execute("SET FOREIGN_KEY_CHECKS=1;") self.execute("SET sql_mode='NO_BACKSLASH_ESCAPES';") - def execute(self,a): - return self.log_execute(a.decode('utf8')) + def execute(self, command, *a, **b): + return self.log_execute(command.decode('utf8'), *a, **b) class NoSQLAdapter(BaseAdapter): can_select_for_update = False