diff --git a/VERSION b/VERSION index 63357aac..fdae0e0e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-01-16 21:37:31) stable +Version 1.99.4 (2012-01-16 21:39:52) stable diff --git a/gluon/dal.py b/gluon/dal.py index 19b967ab..e35adff9 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -2120,8 +2120,8 @@ class OracleAdapter(BaseAdapter): self.execute("ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS';") oracle_fix = re.compile("[^']*('[^']*'[^']*)*\:(?PCLOB\('([^']+|'')*'\))") - def execute(self, command): - args = [] + def execute(self, command, args=None): + args = args or [] i = 1 while True: m = self.oracle_fix.match(command)