mariadb/storage/innobase/fsp
Marko Mäkelä e7f426d2c9 MDEV-19212: Replace macros with type-safe inline functions
The regression that was reported in MDEV-19212 occurred due to use
of macros that did not ensure that the arguments have compatible
types.

ut_2pow_remainder(), ut_2pow_round(), ut_calc_align(): Define as
inline function templates.

UT_CALC_ALIGN(): Define as a macro, because this is used in
compile_time_assert(). Only starting with C++11 (MariaDB 10.4)
we could define the inline functions as constexpr.
2019-04-08 21:33:49 +03:00
..
fsp0file.cc Datafile::validate_first_page(): Change some ERROR to Note 2019-03-14 10:15:50 +02:00
fsp0fsp.cc MDEV-19212: Replace macros with type-safe inline functions 2019-04-08 21:33:49 +03:00
fsp0space.cc MDEV-17849 Undo tablespace truncation recovery fails to shrink file 2018-11-27 14:49:39 +02:00
fsp0sysspace.cc MDEV-17849 Undo tablespace truncation recovery fails to shrink file 2018-11-27 14:49:39 +02:00