Mercurial > sqlpython
changeset 450:abf71d72f467
make SHOW TABLES work
author | catherine@dellzilla |
---|---|
date | Thu, 11 Feb 2010 16:07:34 -0500 |
parents | 63b9db1814e0 |
children | fd86d22fe00d |
files | sqlpython/sqlpyPlus.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py Thu Feb 11 14:47:06 2010 -0500 +++ b/sqlpython/sqlpyPlus.py Thu Feb 11 16:07:34 2010 -0500 @@ -918,6 +918,8 @@ return self._show_shortcut(shortcut, argpieces) if argpieces[0][:3] == 'err': return self._show_errors(all_users=False, limit=1, targets=argpieces[1:]) + elif argpieces[0][:3] == 'tab': + return self.do_ls('table/*') elif (argpieces[0], argpieces[1][:3]) == ('all','err'): return self._show_errors(all_users=False, limit=None, targets=argpieces[2:]) except IndexError: