• marko's avatar
    branches/zip: Correct the bug mentioned in r1872. · 0920bb66
    marko authored
    row_merge(): Add the assertion ut_ad(half > 0).
    
    row_merge_sort(): Compute the half of the merge file correctly.  The
    previous implementation used truncating division, which may result in
    loss of records when the file size in blocks is not a power of 2.
    0920bb66
row0merge.c 54.7 KB