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

improve encryption/compression check in ALTER TABLE IMPORT

    XMLWordPrintable

    Details

      Description

      fil_iterate() and FetchIndexRootPages::run() decrypt and decompress pages. Both eventually iterate all the pages in a table. And both can and should perform a better page validation. Like, if FSP flags say that the page should be encrypted but it's not encrypted and error must be reported. Similar should be done with page compression. https://jira.mariadb.org/browse/MDEV-18543 when landed will have a similar check which is already a little stricter. The check could be copied to the above function and if possible it should be improved further.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Git Integration