mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Cosmetics
This commit is contained in:
@@ -15,6 +15,13 @@ class Replication:
|
||||
replication purposes.
|
||||
"""
|
||||
|
||||
# sqlite data types
|
||||
NULL = DataType('NULL')
|
||||
INTEGER = DataType('INTEGER')
|
||||
REAL = DataType('REAL')
|
||||
TEXT = DataType('TEXT')
|
||||
BLOB = DataType('BLOB')
|
||||
|
||||
def __init__(self, dbpath):
|
||||
self.dbpath = dbpath
|
||||
self.connection = sqlite3.connect(dbpath)
|
||||
@@ -67,13 +74,6 @@ class Replication:
|
||||
stmt += 'WHERE %s' % condition
|
||||
return self.parent.cursor.execute(stmt)
|
||||
|
||||
# sqlite data types
|
||||
NULL = DataType('NULL')
|
||||
INTEGER = DataType('INTEGER')
|
||||
REAL = DataType('REAL')
|
||||
TEXT = DataType('TEXT')
|
||||
BLOB = DataType('BLOB')
|
||||
|
||||
def createTable(self, tblname, columns=None, typeless=False):
|
||||
"""
|
||||
This function creates Table instance with current connection settings.
|
||||
|
||||
Reference in New Issue
Block a user