# HG changeset patch # User catherine@dellzilla # Date 1264517176 18000 # Node ID cac7333f9ff53fe002d127b00df04fdcb27e6135 # Parent aa1a603740fe181716b03e3c176484b04279201f beginning rework of threaded metadata discovery diff -r aa1a603740fe -r cac7333f9ff5 sqlpython/connections.py --- 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) diff -r aa1a603740fe -r cac7333f9ff5 sqlpython/sqlpython.py --- 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