• marko's avatar
    branches/zip: When executing an optimistic update by delete-and-insert, · e77f7467
    marko authored
    correctly estimate the free space on the compressed page by
    page_zip_available(..., create=TRUE). This was reported as Issue #231.
    
    btr_cur_update_alloc_zip(): Add the parameter ibool create and pass it
    to page_zip_available(). The parameter was previously passed as 0.
    
    btr_cur_optimistic_update(): Pass create=TRUE to btr_cur_update_alloc_zip().
    
    rb://120 approved by Heikki Tuuri
    e77f7467
btr0cur.c 133 KB