mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-31 12:14:19 -04:00
Mark AS users with their AS's ID
This commit is contained in:
parent
7718303e71
commit
763360594d
10 changed files with 121 additions and 36 deletions
|
@ -23,8 +23,9 @@ import struct
|
|||
class Sqlite3Engine(object):
|
||||
single_threaded = True
|
||||
|
||||
def __init__(self, database_module):
|
||||
def __init__(self, database_module, config):
|
||||
self.module = database_module
|
||||
self.config = config
|
||||
|
||||
def check_database(self, txn):
|
||||
pass
|
||||
|
@ -38,7 +39,7 @@ class Sqlite3Engine(object):
|
|||
|
||||
def prepare_database(self, db_conn):
|
||||
prepare_sqlite3_database(db_conn)
|
||||
prepare_database(db_conn, self)
|
||||
prepare_database(db_conn, self, config=self.config)
|
||||
|
||||
def is_deadlock(self, error):
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue