Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/sysschema/t/   (MariaDB Server Version 8.1-8.4©)  Datei vom 1.9.2026 mit Größe 931 B image not shown  

SSL fn_format_bytes.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: Ada {ADA[60] SQL[60] VHDL[60]} [Methode: maximale Elemente, drei Dimensionen]

-- source include/not_embedded.inc
# Tests for sys schema
# Verify the sys.format_bytes() function perfoms as expected

# Various protocols display ER_NATIVE_FCT_NAME_COLLISION very differently.
# Disable all of them.

--disable_ps_protocol
--disable_cursor_protocol
--disable_view_protocol

# Passing NULL/nothing should return NULL
SELECT sys.format_bytes(NULL);

# Format bytes
SELECT sys.format_bytes(1);
SELECT sys.format_bytes(1023);

# Format kilobytes
SELECT sys.format_bytes(1024);
SELECT sys.format_bytes(1048575);

# Format megabytes
SELECT sys.format_bytes(1048576);
SELECT sys.format_bytes(1073741823);

# Format gigabytes
SELECT sys.format_bytes(1073741824);
SELECT sys.format_bytes(1099511627775);

# Format terabytes
SELECT sys.format_bytes(1099511627776);
SELECT sys.format_bytes(1125899906842623);

# Format petabytes
SELECT sys.format_bytes(1125899906842624);
SELECT sys.format_bytes(1125899906842624238947293);

[Verzeichnis aufwärts0.16unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-10-11]