Mercurial > sqlpython
comparison sqlpyPlus.py @ 85:b336d049cac7
bugs found during gcoug talk prep
author | catherine@localhost |
---|---|
date | Mon, 19 May 2008 16:45:24 -0400 |
parents | a7be838c4ad5 |
children | ca5d615d8207 |
comparison
equal
deleted
inserted
replaced
84:a7be838c4ad5 | 85:b336d049cac7 |
---|---|
880 result.append('%s\t%s\t%s/%s' % (status, last_ddl_time, object_type, object_name)) | 880 result.append('%s\t%s\t%s/%s' % (status, last_ddl_time, object_type, object_name)) |
881 else: | 881 else: |
882 result.append('%s/%s' % (object_type, object_name)) | 882 result.append('%s/%s' % (object_type, object_name)) |
883 self.stdout.write('\n'.join(result) + '\n') | 883 self.stdout.write('\n'.join(result) + '\n') |
884 | 884 |
885 | |
886 if options.has_key('insensitive'): | |
887 searchfor = "LOWER(text)" | |
888 arg = arg.lower() | |
889 | |
890 | |
891 def do_cat(self, arg): | 885 def do_cat(self, arg): |
892 targets = arg.split() | 886 targets = arg.split() |
893 for target in targets: | 887 for target in targets: |
894 self.do_select('* from %s' % target) | 888 self.do_select('* from %s' % target) |
895 | 889 |