Mercurial > sqlpython
changeset 414:c42d9619e715
starting some refactoring
author | catherine@bothari |
---|---|
date | Fri, 16 Oct 2009 18:11:08 -0400 |
parents | 7e3910c7bcb7 |
children | 3a2db0db302f |
files | sqlpython/sqlpyPlus.py |
diffstat | 1 files changed, 0 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py Fri Oct 16 17:54:23 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Fri Oct 16 18:11:08 2009 -0400 @@ -1107,22 +1107,7 @@ except (TypeError, IndexError): self.pfeedback('Could not resolve object %s.' % identifier) return '', '', '' - - def resolve_with_column(self, identifier): - colName = None - object_type, owner, object_name = self.resolve(identifier) - if not object_type: - parts = identifier.split('.') - if len(parts) > 1: - colName = parts[-1] - identifier = '.'.join(parts[:-1]) - object_type, owner, object_name = self.resolve(identifier) - return object_type, owner, object_name, colName - def do_resolve(self, arg): - target = arg.upper() - self.poutput(','.join(self.resolve(target))+'\n') - def spoolstop(self): if self.spoolFile: self.stdout = self.stdoutBeforeSpool