issue 612, fixed problem with oracle adapter, thanks faridgs
This commit is contained in:
@@ -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
@@ -2120,8 +2120,8 @@ class OracleAdapter(BaseAdapter):
|
|||||||
self.execute("ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS';")
|
self.execute("ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS';")
|
||||||
oracle_fix = re.compile("[^']*('[^']*'[^']*)*\:(?P<clob>CLOB\('([^']+|'')*'\))")
|
oracle_fix = re.compile("[^']*('[^']*'[^']*)*\:(?P<clob>CLOB\('([^']+|'')*'\))")
|
||||||
|
|
||||||
def execute(self, command):
|
def execute(self, command, args=None):
|
||||||
args = []
|
args = args or []
|
||||||
i = 1
|
i = 1
|
||||||
while True:
|
while True:
|
||||||
m = self.oracle_fix.match(command)
|
m = self.oracle_fix.match(command)
|
||||||
|
|||||||
Reference in New Issue
Block a user