summaryrefslogtreecommitdiff
path: root/tests/conditional_processing
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2019-12-02 00:42:06 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-14 13:18:06 +0100
commit98f23a8af0be7e87535426c5c83058e2682bfdf8 (patch)
tree5ac7e0c05a222d176fec8ae13c578d33dbdb6f3f /tests/conditional_processing
parentb330b918e979ea39a21d47b61172d112caf432c3 (diff)
Fixed #26552 -- Deferred constraint checks when reloading the database with data for tests.
deserialize_db_from_string() loads the full serialized database contents, which might contain forward references and cycles. That caused IntegrityError because constraints were checked immediately. Now, it loads data in a transaction with constraint checks deferred until the end of the transaction.
Diffstat (limited to 'tests/conditional_processing')
0 files changed, 0 insertions, 0 deletions