minor bug fix introduced in 2267dd8f47

This commit is contained in:
Bernardo Damele 2013-02-14 12:39:17 +00:00
parent 0b8de94ace
commit 1de109747f

View File

@ -119,7 +119,11 @@ class Miscellaneous:
def createSupportTbl(self, tblName, tblField, tblType):
inject.goStacked("DROP TABLE %s" % tblName, silent=True)
if Backend.isDbms(DBMS.MSSQL) and tblName == self.cmdTblName:
inject.goStacked("CREATE TABLE %s(id INT PRIMARY KEY IDENTITY, %s %s)" % (tblName, tblField, tblType))
else:
inject.goStacked("CREATE TABLE %s(%s %s)" % (tblName, tblField, tblType))
def cleanup(self, onlyFileTbl=False, udfDict=None, web=False):
"""