Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-4565

Inconsistent behaviour of innodb_temp_tablespace_encrypt=ON and CREATE TABLE with ENCRYPTION option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.7.x, Not 5.5.x, Not 5.6.x
    • Fix Version/s: 5.7.23-23
    • Component/s: None

      Description

      When innodb_temp_tablespace_encrypt is ON.

      Following should succeed:

      CREATE TEMPORARY TABLE t (a INT) ENGINE=InnoDB ENCRYPTION='Y';

      innodb_encrypt_tables=ON & CREATE TEMPORARY TABLE t (a INT) ENGINE=InnoDB;

      Following should fail:

      CREATE TEMPORARY TABLE t (a INT) ENGINE=InnoDB; (innodb_encrypt_tables default is OFF)

      CREATE TEMPORARY TABLE t (a INT) ENGINE=InnoDB ENCRYPTION='N';

      innodb_encrypt_tables=OFF & CREATE TEMPORARY TABLE t (a INT) ENGINE=InnoDB;

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                satya.bodapati Satya Bodapati
                Reporter:
                sergei.glushchenko Sergei Glushchenko (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days, 2 hours, 11 minutes
                    2d 2h 11m