• Aymeric Augustin's avatar
    Made atomic usable when autocommit is off. · 83a416f5
    Aymeric Augustin yazdı
    Thanks Anssi for haggling until I implemented this.
    
    This change alleviates the need for atomic_if_autocommit. When
    autocommit is disabled for a database, atomic will simply create and
    release savepoints, and not commit anything. This honors the contract of
    not doing any transaction management.
    
    This change also makes the hack to allow using atomic within the legacy
    transaction management redundant.
    
    None of the above will work with SQLite, because of a flaw in the design
    of the sqlite3 library. This is a known limitation that cannot be lifted
    without unacceptable side effects eg. triggering arbitrary commits.
    83a416f5
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
models.py Loading commit data...
tests.py Loading commit data...