[MDEV-17230] encryption_key_id from alter is ignored by encryption threads Created: 2018-09-18 Updated: 2019-03-29 Resolved: 2018-11-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1, 10.3.9, 10.2 |
| Fix Version/s: | 10.3.11, 10.1.38, 10.2.20 |
| Type: | Bug | Priority: | Major |
| Reporter: | Robert Golebiowski | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Although it is possible to specify encryption key id in alter statement for not encrypted tables (innodb_encrypt_tables = off): ALTER TABLE t1 ENCRYPTION_KEY_ID=X. The encryption threads when encrypting such table (innodb_encrypt_tables = on) will use key id 0 instead of X specified. |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2018-10-10 ] |
|
https://github.com/MariaDB/server/commit/0bafdc478c4ab8c577331b950dc7719abd6781c1 |
| Comment by Marko Mäkelä [ 2018-10-31 ] |
|
Looks otherwise OK, but I would clarify the error message. |