# HG changeset patch # User catherine@dellzilla # Date 1229956430 18000 # Node ID 545d98ed07f3878857692bce830b5e175d636890 # Parent 0351e977c245b754ccbe16c7c799b1cc7f48bf32 fix for do_load diff -r 0351e977c245 -r 545d98ed07f3 sqlpython/mysqlpy.py --- a/sqlpython/mysqlpy.py Thu Dec 18 10:20:59 2008 -0500 +++ b/sqlpython/mysqlpy.py Mon Dec 22 09:33:50 2008 -0500 @@ -104,7 +104,7 @@ '''Runs query_load10g defined above, to display OS load on cluster nodes (10gRAC) Do not confuse with `GET myfile.sql` and `@myfile.sql`, which get and run SQL scripts from disk.''' - self.do_select(self.query_load10g) + self.onecmd(self.query_load10g) def do_db(self,args,filepath='pass.txt'): '''Exec do_connect to db_alias in args (credentials form the file pass.txt) '''