|
This came up while I was preparing to test MDEV-14795 with something like the following:
mkdir /dev/shm/data
|
./mariadbd --datadir /dev/shm/data --innodb-data-file-path=ibdata1:56G --bootstrap < /dev/null
|
The startup message would wrongly claim the following:
|
10.9 35de8326fb6ca2751c83ee7465c33347b9efeb93
|
2023-07-05 13:39:58 0 [Note] InnoDB: Setting file './ibdata1' size to 0.000GiB. Physically writing the file full; Please wait ...
|
2023-07-05 13:40:19 0 [Note] InnoDB: File './ibdata1' size is now 0.000GiB.
|
This happens because of 32-bit arithmetics in SysTablespace::set_size(). All other messages that use the MDEV-27158 ib::bytes_iec seem to be correct.
|