diff sqlpyPlus.py @ 45:71576bf684c8

before switch to stdout
author catherine.devlin@gmail.com
date Tue, 01 Apr 2008 16:43:18 -0400
parents abbfb5a7e32c
children ad41f6a577f7
line wrap: on
line diff
--- a/sqlpyPlus.py	Tue Apr 01 14:58:48 2008 -0400
+++ b/sqlpyPlus.py	Tue Apr 01 16:43:18 2008 -0400
@@ -475,6 +475,9 @@
             result = sqlpython.pmatrix(self.rows, self.curs.description, self.maxfetch)
         return result
                         
+    statementEndPattern = re.compile(r'(.*)(;|\\[gGhtxicCsS])\s*(\d*)$')
+    # what about quote-enclosed?
+    
     def findTerminator(self, statement):
         m = self.statementEndPattern.search(statement)
         if m: