Debian Codegraph @

mysql-test/suite/sysschema/r/fn_format_bytes.result

raw
1 SELECT sys.format_bytes(NULL);
2 sys.format_bytes(NULL)
3 NULL
4 Warnings:
5 Note 1585 This function 'format_bytes' has the same name as a native function
6 SELECT sys.format_bytes(1);
7 sys.format_bytes(1)
8 1 bytes
9 SELECT sys.format_bytes(1023);
10 sys.format_bytes(1023)
11 1023 bytes
12 SELECT sys.format_bytes(1024);
13 sys.format_bytes(1024)
14 1.00 KiB
15 SELECT sys.format_bytes(1048575);
16 sys.format_bytes(1048575)
17 1024.00 KiB
18 SELECT sys.format_bytes(1048576);
19 sys.format_bytes(1048576)
20 1.00 MiB
21 SELECT sys.format_bytes(1073741823);
22 sys.format_bytes(1073741823)
23 1024.00 MiB
24 SELECT sys.format_bytes(1073741824);
25 sys.format_bytes(1073741824)
26 1.00 GiB
27 SELECT sys.format_bytes(1099511627775);
28 sys.format_bytes(1099511627775)
29 1024.00 GiB
30 SELECT sys.format_bytes(1099511627776);
31 sys.format_bytes(1099511627776)
32 1.00 TiB
33 SELECT sys.format_bytes(1125899906842623);
34 sys.format_bytes(1125899906842623)
35 1024.00 TiB
36 SELECT sys.format_bytes(1125899906842624);
37 sys.format_bytes(1125899906842624)
38 1.00 PiB
39 SELECT sys.format_bytes(1125899906842624238947293);
40 sys.format_bytes(1125899906842624238947293)
41 1000000000.00 PiB