From fca57da1cf20a6a4ea08197b0ca231cadbb39777 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 7 Mar 2014 15:57:41 +0100 Subject: [PATCH] Fix for --tables on HSQLDB --- plugins/generic/databases.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/generic/databases.py b/plugins/generic/databases.py index 647767c74..1c2d2fbb9 100644 --- a/plugins/generic/databases.py +++ b/plugins/generic/databases.py @@ -331,6 +331,8 @@ class Databases: query = rootQuery.blind.query % (kb.data.cachedTables[-1] if kb.data.cachedTables else " ") elif Backend.getIdentifiedDbms() in (DBMS.SQLITE, DBMS.FIREBIRD): query = rootQuery.blind.query % index + elif Backend.isDbms(DBMS.HSQLDB): + query = rootQuery.blind.query % (index, unsafeSQLIdentificatorNaming(db)) else: query = rootQuery.blind.query % (unsafeSQLIdentificatorNaming(db), index)