• Vladislav Vaintroub's avatar
    MDEV-9256 : Crashes on Windows x64 with aria_pagecache_buffer_size > 4GB · b644661e
    Vladislav Vaintroub authored
    Fixed wrong calculation of buffer sizes. ulong datatype was used wrongly,
    as were the casts to ulong. Buffer sizes should be of type size_t,
    not ulong, or bad things happen on 64 bit Windows.
    
    This patch changes pagecache struct to use size_t/ssize_t
    where long/ulong were previously used. Also, removed several casts.
    b644661e
ma_pagecache.h 14.4 KB