Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26747

improve corruption check for encrypted tables on ALTER IMPORT

    XMLWordPrintable

    Details

      Description

      https://github.com/MariaDB/server/blob/d5a15f04f4ab0738b0a5f993b208bcfaad522fd4/storage/innobase/fil/fil0crypt.cc#L692

      When some page in an encrypted table will be corrupted to have ENCRYPTION_KEY_NOT_ENCRYPTED key the server won't call it a corruption.

      At least a test case with such specific corruption should be added and probably code need to be fixed too. Namely, fil_space_decrypt() should return dberr_t instead of bool.

        Attachments

          Activity

            People

            Assignee:
            kevg Eugene Kosov
            Reporter:
            kevg Eugene Kosov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration