changeset 208:545d98ed07f3 1.5.1

fix for do_load
author catherine@dellzilla
date Mon, 22 Dec 2008 09:33:50 -0500
parents 0351e977c245
children df27f42fdff7
files sqlpython/mysqlpy.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) '''