Remove unused lines from dbCursor
This commit is contained in:
parent
f275ba36a1
commit
1fc364fa07
1 changed files with 0 additions and 2 deletions
|
@ -65,7 +65,6 @@ class DbCursor:
|
|||
|
||||
|
||||
s = time.time()
|
||||
# if query == "COMMIT": self.logging = True # Turn logging back on transaction commit
|
||||
|
||||
if params: # Query has parameters
|
||||
res = self.cursor.execute(query, params)
|
||||
|
@ -83,7 +82,6 @@ class DbCursor:
|
|||
self.db.query_stats[query]["call"] += 1
|
||||
self.db.query_stats[query]["time"] += time.time() - s
|
||||
|
||||
# if query == "BEGIN": self.logging = False # Turn logging off on transaction commit
|
||||
return res
|
||||
|
||||
# Creates on updates a database row without incrementing the rowid
|
||||
|
|
Loading…
Reference in a new issue