mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
acd992d4b7
fix encryption of the last partial block * now really encrypt it, using key and iv * support the case of very short plaintext (less than one block) * recommend aes_ctr over aes_cbc, because the former doesn't have problems with partial blocks
12 lines
308 B
Text
12 lines
308 B
Text
#
|
|
# MDEV-8022 Assertion `rc == 0' failed in ma_encrypt on dropping an encrypted Aria table
|
|
#
|
|
|
|
--source include/have_file_key_management_plugin.inc
|
|
|
|
set global aria_encrypt_tables = 1;
|
|
create table t1 (i int, key(i)) engine=aria;
|
|
insert into t1 values (1);
|
|
drop table t1;
|
|
set global aria_encrypt_tables = 0;
|
|
|