MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / beginTransaction

Method beginTransaction

lib/core/replication.py:95–100  ·  view source on GitHub ↗

Great speed improvement can be gained by using explicit transactions around multiple inserts. Reference: http://stackoverflow.com/questions/4719836/python-and-sqlite3-adding-thousands-of-rows

(self)

Source from the content-addressed store, hash-verified

93 raise SqlmapGenericException(errMsg)
94
95 def beginTransaction(self):
96 """
97 Great speed improvement can be gained by using explicit transactions around multiple inserts.
98 Reference: http://stackoverflow.com/questions/4719836/python-and-sqlite3-adding-thousands-of-rows
99 """
100 self.execute('BEGIN TRANSACTION')
101
102 def endTransaction(self):
103 self.execute('END TRANSACTION')

Callers 1

dbTableValuesMethod · 0.45

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected