Split the table in two

This commit is contained in:
Erik Johnston 2017-06-01 14:50:46 +01:00
parent d5477c7afd
commit 21e255a8f1
4 changed files with 138 additions and 31 deletions

View file

@ -425,6 +425,11 @@ class SQLBaseStore(object):
txn.execute(sql, vals)
def _simple_insert_many(self, table, values, desc):
return self.runInteraction(
desc, self._simple_insert_many_txn, table, values
)
@staticmethod
def _simple_insert_many_txn(txn, table, values):
if not values: