# HG changeset patch # User catherine@bothari # Date 1255731068 14400 # Node ID c42d9619e715a5b8d55709306aca7265408b9188 # Parent 7e3910c7bcb70caf76903de45b8cce6d968314ba starting some refactoring diff -r 7e3910c7bcb7 -r c42d9619e715 sqlpython/sqlpyPlus.py --- 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