Mercurial > sqlpython
changeset 431:cac7333f9ff5
beginning rework of threaded metadata discovery
author | catherine@dellzilla |
---|---|
date | Tue, 26 Jan 2010 09:46:16 -0500 |
parents | aa1a603740fe |
children | 26b09e1481e7 |
files | sqlpython/connections.py sqlpython/sqlpython.py |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/connections.py Mon Jan 25 17:12:32 2010 -0500 +++ b/sqlpython/connections.py Tue Jan 26 09:46:16 2010 -0500 @@ -14,7 +14,7 @@ if not self.parse_connect_uri(arg): self.parse_connect_arg(arg, opts) self.connection = self.new_connection() - self.discover_schemas() + #self.discover_schemas() def parse_connect_uri(self, uri): results = self.connection_uri_parser.search(uri)
--- a/sqlpython/sqlpython.py Mon Jan 25 17:12:32 2010 -0500 +++ b/sqlpython/sqlpython.py Tue Jan 26 09:46:16 2010 -0500 @@ -168,7 +168,8 @@ self.instances[self.instance_number] = db_instance self.make_instance_current(self.instance_number) if (self.rdbms == 'oracle') and self.serveroutput: - self.curs.callproc('dbms_output.enable', []) + self.current_instance.connection.cursor().callproc('dbms_output.enable',[]) + #self.curs.callproc('dbms_output.enable', []) def postparsing_precmd(self, statement): stop = 0