Mercurial > sqlpython
comparison mysqlpy.py @ 58:de6278a3bf53
adding compare help
author | catherine@cordelia |
---|---|
date | Wed, 02 Apr 2008 21:29:36 -0400 |
parents | 65ae6cec71c6 |
children | 4f80329a1905 1a52de2c541e |
comparison
equal
deleted
inserted
replaced
57:4931f32c8ff5 | 58:de6278a3bf53 |
---|---|
74 self.query_longops = ''' | 74 self.query_longops = ''' |
75 inst_id,sid,username,time_remaining remaining, elapsed_seconds elapsed, sql_hash_value hash, opname,message | 75 inst_id,sid,username,time_remaining remaining, elapsed_seconds elapsed, sql_hash_value hash, opname,message |
76 from gv$session_longops | 76 from gv$session_longops |
77 where time_remaining>0; | 77 where time_remaining>0; |
78 ''' | 78 ''' |
79 | 79 |
80 def do_top9i(self,args): | 80 def do_top9i(self,args): |
81 '''Runs query_top9i defined above, to display active sessions in Oracle 9i''' | 81 '''Runs query_top9i defined above, to display active sessions in Oracle 9i''' |
82 self.do_select(self.query_top9i) | 82 self.do_select(self.query_top9i) |
83 | 83 |
84 def do_top(self,args): | 84 def do_top(self,args): |