tables and databases names on MSQLDB are capitalized

This commit is contained in:
Bernardo Damele
2013-07-01 11:54:31 +01:00
parent 2ca5df2802
commit 6468211f65
2 changed files with 4 additions and 4 deletions

View File

@@ -205,7 +205,7 @@ class Databases:
if conf.db == CURRENT_DB:
conf.db = self.getCurrentDb()
if conf.db and Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2):
if conf.db and Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2, DBMS.HSQLDB):
conf.db = conf.db.upper()
if conf.db:
@@ -379,7 +379,7 @@ class Databases:
conf.db = self.getCurrentDb()
elif conf.db is not None:
if Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2):
if Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2, DBMS.HSQLDB):
conf.db = conf.db.upper()
if ',' in conf.db: