Merge 10.4 into 10.5

This commit is contained in:
Marko Mäkelä 2020-07-02 09:41:44 +03:00
commit 1813d92d0c
234 changed files with 3048 additions and 789 deletions

View file

@ -703,7 +703,7 @@ rec_offs_set_n_alloc(
ulint n_alloc) /*!< in: number of elements */
{
ut_ad(n_alloc > REC_OFFS_HEADER_SIZE);
UNIV_MEM_ALLOC(offsets, n_alloc * sizeof *offsets);
MEM_UNDEFINED(offsets, n_alloc * sizeof *offsets);
offsets[0] = static_cast<rec_offs>(n_alloc);
}