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

Modify to check for boundaries for encryption_key_id

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 8.0.20-11
    • 8.0.22-13
    • None

    Description

      create table t2(a int) encryption='keyring';
      mysql> alter table t2 encryption_key_id=9999999999;
      Query OK, 0 rows affected (0.83 sec)
      Records: 0 Duplicates: 0 Warnings: 0

      mysql> select current_key_id from information_schema.innodb_tablespaces_encryption where name = 'test/t2';
      ----------------

      current_key_id

      ----------------

      1410065407

      ----------------
      1 row in set (0.00 sec)

      It simply prints garbage value.

      Attachments

        Activity

          People

            oleksandr.kachan Oleksandr Kachan
            mohit.joshi Mohit Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 day, 4 hours, 40 minutes
                1d 4h 40m

                Smart Checklist