issue 612, fixed problem with oracle adapter, thanks faridgs

This commit is contained in:
Massimo Di Pierro
2012-01-16 21:39:58 -06:00
parent 0029b43aac
commit f61bec0566
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-01-16 21:37:31) stable
Version 1.99.4 (2012-01-16 21:39:52) stable
+2 -2
View File
@@ -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("[^']*('[^']*'[^']*)*\:(?P<clob>CLOB\('([^']+|'')*'\))")
def execute(self, command):
args = []
def execute(self, command, args=None):
args = args or []
i = 1
while True:
m = self.oracle_fix.match(command)