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

Quelle  innodb_encryption_is.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[128] Fortran[48] Lisp[33]} [Methode: maximale Elemente, drei Dimensionen]

-- source include/have_innodb.inc
-- source include/have_file_key_management_plugin.inc

CREATE TABLE t1 (c VARCHAR(8)) ENGINE=InnoDB ENCRYPTED=YES ENCRYPTION_KEY_ID=1;
CREATE TABLE t2 (c VARCHAR(8)) ENGINE=InnoDB ENCRYPTED=YES ENCRYPTION_KEY_ID=2;
INSERT INTO t1 VALUES ('foobar');
INSERT INTO t2 VALUES ('foobar');

#
# MDEV-9640: Add used key_id to INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION
#
--sorted_result
SELECT NAME, ENCRYPTION_SCHEME, MIN_KEY_VERSION, CURRENT_KEY_VERSION,
CURRENT_KEY_ID
FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION
WHERE NAME LIKE '%t1' OR NAME LIKE '%t2';

DROP TABLE t1, t2;

[Dauer der Verarbeitung: 0.10 Sekunden, vorverarbeitet 2026-10-08]