minor update

This commit is contained in:
Miroslav Stampar 2011-03-28 12:02:31 +00:00
parent 73e5d20ade
commit 3173adbf6b

View File

@ -1215,7 +1215,7 @@ class Enumeration:
"""
retVal = value
if isinstance(value, basestring):
if isTable and Backend.getIdentifiedDbms() == DBMS.MSSQL and '.' not in value:
if isTable and Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE) and '.' not in value:
value = "%s.%s" % (DEFAULT_MSSQL_SCHEMA, value)
parts = value.split('.')