• vasil's avatar
    Fix Bug#29097 "fsp_get_available_space_in_free_extents() is capped at 4TB" · 88662a2d
    vasil authored
    by typecasting the variables before multiplying them, so that the result of
    the multiplication is of type "unsigned long long".
    
    I verified this fix by creating a sparse file of 6TB and forcing InnoDB to
    use it without overwriting it with zeroes (by commenting the code that
    overwrites :newraw files).
    
    New type ullint is introduced with the sole purpose of shortening
    "unsigned long long", please do not define it to something else than
    "unsigned long long".
    
    Approved by:	Heikki
    88662a2d
univ.i 9.37 KB