From ad4584da700751c71c0a9b7c38c27ae96a9f9cc5 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 1 Aug 2011 23:44:14 +0000 Subject: [PATCH] Minor bug fix when dumping tables with UNION query technique on Access, Firebird and MaxDB --- plugins/generic/enumeration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index fe7088457..e22aa595a 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1593,7 +1593,7 @@ class Enumeration: if Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2): query = rootQuery.inband.query % (colString, tbl.upper() if not conf.db else ("%s.%s" % (conf.db.upper(), tbl.upper()))) - elif Backend.isDbms(DBMS.SQLITE): + elif Backend.getIdentifiedDbms() in (DBMS.SQLITE, DBMS.ACCESS, DBMS.FIREBIRD, DBMS.MAXDB): query = rootQuery.inband.query % (colString, tbl) elif Backend.getIdentifiedDbms() in (DBMS.SYBASE, DBMS.MSSQL): # Partial inband and error