changeset 186:e26523dd0aeb

terminator bugs fixed
author catherine@Elli.myhome.westell.com
date Thu, 13 Nov 2008 15:32:50 -0500
parents b2683d01a72f
children 8c3668a2dd68
files sqlpython/sqlpyPlus.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Thu Nov 13 14:54:07 2008 -0500
+++ b/sqlpython/sqlpyPlus.py	Thu Nov 13 15:32:50 2008 -0500
@@ -926,7 +926,7 @@
         arg = self.parsed(arg)
         targets = arg.unterminated.split()
         for target in targets:
-            self.do_select('* from %s%s%s' % (target, arg.terminator or ';', arg.rowlimit)) # permissive of space before terminator
+            self.do_select('* from %s%s%s' % (target, arg.terminator, arg.rowlimit)) # permissive of space before terminator
 
     @options([make_option('-i', '--ignore-case', dest='ignorecase', action='store_true', help='Case-insensitive search')])        
     def do_grep(self, arg, opts):