another minor fix

This commit is contained in:
Miroslav Stampar 2011-03-28 12:04:39 +00:00
parent 3173adbf6b
commit 4312a42b5d

View File

@ -1239,7 +1239,7 @@ class Enumeration:
retVal = value.replace("`", "")
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.ORACLE, DBMS.PGSQL):
retVal = value.replace("\"", "")
if Backend.getIdentifiedDbms() == DBMS.MSSQL:
if Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE):
retVal = retVal.lstrip("%s." % DEFAULT_MSSQL_SCHEMA)
return retVal