@@ -618,7 +618,7 @@ def getColumns(self, onlyColNames=False, colTuple=None, bruteForce=None, dumpMod
618618 query = rootQuery .inband .query % (unsafeSQLIdentificatorNaming (tbl ), unsafeSQLIdentificatorNaming (conf .db ))
619619 query += condQuery
620620
621- if Backend .isFork (FORK .DRIZZLE ):
621+ if Backend .isDbms ( DBMS . MYSQL ) and Backend . isFork (FORK .DRIZZLE ):
622622 query = re .sub ("column_type" , "data_type" , query , flags = re .I )
623623
624624 elif Backend .getIdentifiedDbms () in (DBMS .ORACLE , DBMS .DB2 , DBMS .DERBY , DBMS .ALTIBASE , DBMS .MIMERSQL ):
@@ -1022,7 +1022,7 @@ def getStatements(self):
10221022 rootQuery = queries [Backend .getIdentifiedDbms ()].statements
10231023
10241024 if any (isTechniqueAvailable (_ ) for _ in (PAYLOAD .TECHNIQUE .UNION , PAYLOAD .TECHNIQUE .ERROR , PAYLOAD .TECHNIQUE .QUERY )) or conf .direct :
1025- if Backend .isFork (FORK .DRIZZLE ):
1025+ if Backend .isDbms ( DBMS . MYSQL ) and Backend . isFork (FORK .DRIZZLE ):
10261026 query = rootQuery .inband .query2
10271027 else :
10281028 query = rootQuery .inband .query
@@ -1049,7 +1049,7 @@ def getStatements(self):
10491049
10501050 query = rootQuery .blind .count
10511051
1052- if Backend .isFork (FORK .DRIZZLE ):
1052+ if Backend .isDbms ( DBMS . MYSQL ) and Backend . isFork (FORK .DRIZZLE ):
10531053 query = re .sub ("INFORMATION_SCHEMA" , "DATA_DICTIONARY" , query , flags = re .I )
10541054
10551055 count = inject .getValue (query , union = False , error = False , expected = EXPECTED .INT , charsetType = CHARSET_TYPE .DIGITS )
@@ -1077,7 +1077,7 @@ def getStatements(self):
10771077 if isNoneValue (value ):
10781078 query = rootQuery .blind .query % index
10791079
1080- if Backend .isFork (FORK .DRIZZLE ):
1080+ if Backend .isDbms ( DBMS . MYSQL ) and Backend . isFork (FORK .DRIZZLE ):
10811081 query = re .sub ("INFORMATION_SCHEMA" , "DATA_DICTIONARY" , query , flags = re .I )
10821082
10831083 value = unArrayizeValue (inject .getValue (query , union = False , error = False ))
0 commit comments