changeset 418:25ac6fd9b0a0

no SHOW PARAM outside Oracle
author catherine@bothari
date Thu, 19 Nov 2009 17:20:06 -0500
parents fc3e99c9e3e5
children 8d9e0c5c37a5
files sqlpython/sqlpyPlus.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Thu Nov 19 17:12:52 2009 -0500
+++ b/sqlpython/sqlpyPlus.py	Thu Nov 19 17:20:06 2009 -0500
@@ -895,7 +895,7 @@
         show all err (type/name)        - all compilation errors from the user's PL/SQL objects.
         show (index/schema/tablespace/trigger/view/constraint/comment) on (table)
         '''
-        if arg.startswith('param'):
+        if arg.startswith('param') and self.rdbms == 'oracle':
             try:
                 paramname = arg.split()[1].lower()
             except IndexError: