MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / execute

Method execute

plugins/dbms/monetdb/connector.py:47–55  ·  view source on GitHub ↗
(self, query)

Source from the content-addressed store, hash-verified

45 return None
46
47 def execute(self, query):
48 try:
49 self.cursor.execute(query)
50 except (pymonetdb.OperationalError, pymonetdb.ProgrammingError) as ex:
51 logger.log(logging.WARN if conf.dbmsHandler else logging.DEBUG, "(remote) %s" % getSafeExString(ex))
52 except pymonetdb.InternalError as ex:
53 raise SqlmapConnectionException(getSafeExString(ex))
54
55 self.connector.commit()
56
57 def select(self, query):
58 self.execute(query)

Callers 1

selectMethod · 0.95

Calls 3

getSafeExStringFunction · 0.90
commitMethod · 0.80

Tested by

no test coverage detected