mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
Introduce innodb_encrypt_log.combinations and prove that the encryption and decryption take place during both online ADD INDEX (WL#5266) and online table-rebuilding ALTER (WL#6625).
21 lines
851 B
Plaintext
21 lines
851 B
Plaintext
--- innodb-index-online.result
|
|
+++ innodb-index-online,crypt.reject
|
|
@@ -260,7 +260,7 @@
|
|
@merge_encrypt_1>@merge_encrypt_0, @merge_decrypt_1>@merge_decrypt_0,
|
|
@rowlog_encrypt_1>@rowlog_encrypt_0;
|
|
sort_balance @merge_encrypt_1>@merge_encrypt_0 @merge_decrypt_1>@merge_decrypt_0 @rowlog_encrypt_1>@rowlog_encrypt_0
|
|
-0 0 0 0
|
|
+0 1 1 1
|
|
SET DEBUG_SYNC = 'now SIGNAL dml2_done';
|
|
ERROR HY000: Creating index 'c2e' required more than 'innodb_online_alter_log_max_size' bytes of modification log. Please try again.
|
|
SELECT name, count FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE subsystem = 'ddl';
|
|
@@ -364,7 +364,7 @@
|
|
@rowlog_encrypt_2-@rowlog_encrypt_1>0 as log_encrypted,
|
|
@rowlog_decrypt_2-@rowlog_decrypt_1>0 as log_decrypted;
|
|
sort_encrypted sort_decrypted log_encrypted log_decrypted
|
|
-0 0 0 0
|
|
+1 1 1 1
|
|
SELECT COUNT(c22f) FROM t1;
|
|
COUNT(c22f)
|
|
320
|