• Michael Widenius's avatar
    Use less memory when growing HEAP tables. See MDEV-436 · f2d7609a
    Michael Widenius authored
    mysql-test/suite/heap/heap.result:
      Added test case for MDEV-436
    mysql-test/suite/heap/heap.test:
      Added test case for MDEV-436
    storage/heap/hp_block.c:
      Don't allocate a set of HP_PTRS when not needed. This saves us about 1024 bytes for most allocations.
    storage/heap/hp_create.c:
      Made the initial allocation of block sizes depending on min_records and max_records.
    f2d7609a
hp_create.c 10.4 KB