mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
refix
This commit is contained in:
parent
efe75aa8a3
commit
303359e8b1
|
@ -15,13 +15,6 @@ class Replication:
|
||||||
replication purposes.
|
replication purposes.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# sqlite data types
|
|
||||||
NULL = DataType('NULL')
|
|
||||||
INTEGER = DataType('INTEGER')
|
|
||||||
REAL = DataType('REAL')
|
|
||||||
TEXT = DataType('TEXT')
|
|
||||||
BLOB = DataType('BLOB')
|
|
||||||
|
|
||||||
def __init__(self, dbpath):
|
def __init__(self, dbpath):
|
||||||
self.dbpath = dbpath
|
self.dbpath = dbpath
|
||||||
self.connection = sqlite3.connect(dbpath)
|
self.connection = sqlite3.connect(dbpath)
|
||||||
|
@ -89,3 +82,10 @@ class Replication:
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
self.cursor.close()
|
self.cursor.close()
|
||||||
self.connection.close()
|
self.connection.close()
|
||||||
|
|
||||||
|
# sqlite data types
|
||||||
|
NULL = DataType('NULL')
|
||||||
|
INTEGER = DataType('INTEGER')
|
||||||
|
REAL = DataType('REAL')
|
||||||
|
TEXT = DataType('TEXT')
|
||||||
|
BLOB = DataType('BLOB')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user