Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2eb24c6

Browse files
committed
Avoid useless queries
1 parent 236ca9b commit 2eb24c6

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

plugins/dbms/mysql.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,6 @@ def checkDbmsOs(self, detailed=False):
352352
infoMsg = "fingerprinting the back-end DBMS operating system"
353353
logger.info(infoMsg)
354354

355-
self.createSupportTbl(self.fileTblName, self.tblField, "text")
356-
inject.goStacked("INSERT INTO %s(%s) VALUES (%s)" % (self.fileTblName, self.tblField, "VERSION()"))
357-
358355
datadirSubstr = inject.getValue("SELECT MID(@@datadir, 1, 1)", unpack=False)
359356

360357
if datadirSubstr == "/":

0 commit comments

Comments
 (0)