~launchpad-committers/storm/lp

« back to all changes in this revision

Viewing changes to storm/tests/databases/base.py

  • Committer: Colin Watson
  • Date: 2023-07-06 10:51:34 UTC
  • mfrom: (386.34.138 storm)
  • Revision ID: cjwatson@canonical.com-20230706105134-rzpb4opv8nfpg56r
Merge Storm 0.26 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
333
333
        that works with data in memory, in fact) becomes a dangerous thing.
334
334
 
335
335
        For PostgreSQL, isolation level must be SERIALIZABLE.
 
336
        For MySQL, isolation level must be REPEATABLE READ (the default),
 
337
        and the InnoDB engine must be in use.
336
338
        For SQLite, the isolation level already is SERIALIZABLE when not
337
339
        in autocommit mode.  OTOH, PySQLite is nuts regarding transactional
338
340
        behavior, and will easily offer READ COMMITTED behavior inside a