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

Reuse new I_S table definition helper classes for RocksDB

    XMLWordPrintable

    Details

      Description

      The patch for MDEV-19772 earlier introduced a number of helper classes to define INFORMATION_SCHEMA tables.
      This task is to make INFORMATION_SCHEMA definitions in /storage/innobase use these new classes.

      Let's also fix wrong RocksDB I_S column definitions for integer columns:

      • SMALLINT(2) instead of SMALLINT(6)
      • INT(4) to INT(11)
      • BIGINT(8) to BIGINT(21)

      The sources erroneously use wrong lengths to define columns (size in bytes vs number of decimal digits):

      • sizeof(short) instead of 6
      • sizeof(uint32) instead MY_INT32_NUM_DECIMAL_DIGITS
      • sizeof(uint64) instead of MY_INT64_NUM_DECIMAL_DIGITS

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: