mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-26 16:10:00 +03:00
Save changes before closing cursor and connection
This commit is contained in:
parent
0408f98359
commit
1a62135ea7
|
@ -62,6 +62,7 @@ class HashDB(object):
|
||||||
threadData = getCurrentThreadData()
|
threadData = getCurrentThreadData()
|
||||||
try:
|
try:
|
||||||
if threadData.hashDBCursor:
|
if threadData.hashDBCursor:
|
||||||
|
threadData.hashDBCursor.connection.commit()
|
||||||
threadData.hashDBCursor.close()
|
threadData.hashDBCursor.close()
|
||||||
threadData.hashDBCursor.connection.close()
|
threadData.hashDBCursor.connection.close()
|
||||||
threadData.hashDBCursor = None
|
threadData.hashDBCursor = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user