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
5 lines
159 B
Text
5 lines
159 B
Text
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;
|