• Jim Fulton's avatar
    Made a number of blob changes: · 11eb7cd5
    Jim Fulton authored
    - Unwritten blobs can now be read, and are empty.
    
    - Blobs are considered modified when opened for writing.  This is a
       little bit more conservative than before but fixes a bug that a file
       opened with 'w' actually does modify the file and wasn't considered
       to be a change before.
    
    - Optimistic savepoints now work.
    
    - Fixed bug: could open multiple files for writing.
    
    - Fixed bug: aborting a transaction removed uncommitted data for
       uncommitted blobs.
    
    Todo: 
       Need to remove uncommitted data file if a blob is GCed even when a
       transaction isn't aborted or when it hasn't been added to anything.
    
    - No-longer close files on transaction boundaries.
    
    This allows us to get rid of the transaction-manager dance.
    11eb7cd5
blob.py 22.1 KB