MDEV-36334 test main.func_format fails on i386 on exabyte/petabyte mismatch
authorSergei Golubchik <serg@mariadb.org>
Wed, 2 Apr 2025 16:06:29 +0000 (18:06 +0200)
committerOtto Kekäläinen <otto@debian.org>
Wed, 23 Apr 2025 14:29:38 +0000 (07:29 -0700)
commited1b3b5c4d89430259306023449722e0cda28faa
tree8f3edbbce3cde9c55c917de1a1eacf7ec988451c
parentae835f228be21d1cdbbd6168e9c7cdb6c895f118
MDEV-36334 test main.func_format fails on i386 on exabyte/petabyte mismatch

snprintf below uses %4.2f. values above 1023.99 MiB should be shown
as 1.00 GiB not as 1024.00 MiB

(cherry picked from commit e5574d8b94681755becead56fa67c95792f83668)

Origin: upstream, https://github.com/MariaDB/server/commit/e5574d8b94681755becead56fa67c95792f83668
Bug: https://jira.mariadb.org/browse/MDEV-36334

Gbp-Pq: Name MDEV-36334-test-main.func_format-fails-on-i386-on-exabyte.patch
mysql-test/main/func_format.result
sql/item_strfunc.cc