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

Unnecessary computations for SPATIAL INDEX

    XMLWordPrintable

Details

    Description

      In InnoDB, spatial index (R-tree) records always start with a field whose length is DATA_MBR_LEN. This field is unfortunately declared as variable-length, so its length is always encoded.

      The InnoDB functions dict_index_copy_rec_order_prefix() and rec_copy_prefix_to_buf() are treating spatial indexes as if they could have any number of fields or any length for the first field.

      Attachments

        Activity

          People

            marko Marko Mäkelä
            marko Marko Mäkelä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.