Mercurial > sqlpython
changeset 45:71576bf684c8
before switch to stdout
author | catherine.devlin@gmail.com |
---|---|
date | Tue, 01 Apr 2008 16:43:18 -0400 |
parents | f489beb0e644 |
children | ad41f6a577f7 |
files | sqlpyPlus.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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: