From 9b5f33560bad301b5a07a1ceee21ed83b077e229 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 15 Feb 2013 17:36:04 +0100 Subject: [PATCH] Oracle is too specific (only column names can be enclosed) - removing it --- lib/core/common.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 2379bae9f..8461ee0c5 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2818,8 +2818,6 @@ def safeSQLIdentificatorNaming(name, isTable=False): if retVal.upper() in kb.keywords or not re.match(r"\A[A-Za-z0-9_@%s\$]+\Z" % ("." if _ else ""), retVal): # MsSQL is the only DBMS where we automatically prepend schema to table name (dot is normal) if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ACCESS): retVal = "`%s`" % retVal.strip("`") - elif Backend.getIdentifiedDbms() in (DBMS.ORACLE,) and not isTable: - retVal = "\"%s\"" % retVal.strip("\"") elif Backend.getIdentifiedDbms() in (DBMS.PGSQL, DBMS.DB2): retVal = "\"%s\"" % retVal.strip("\"") elif Backend.getIdentifiedDbms() in (DBMS.MSSQL,):