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

Reuse new I_S table definition helper classes for TokuDB

    XMLWordPrintable

Details

    Description

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

      So for example this table definition:

      ST_FIELD_INFO trx_field_info[] = {
          {"trx_id", 0, MYSQL_TYPE_LONGLONG, 0, 0, NULL, SKIP_OPEN_TABLE },
          {"trx_mysql_thread_id", 0, MYSQL_TYPE_LONGLONG, 0, 0, NULL, SKIP_OPEN_TABLE },
          {"trx_time", 0, MYSQL_TYPE_LONGLONG, 0, 0, NULL, SKIP_OPEN_TABLE },
          {NULL, 0, MYSQL_TYPE_NULL, 0, 0, NULL, SKIP_OPEN_TABLE}
      };
      

      will turn into:

      ST_FIELD_INFO trx_field_info[] = {
          Column("trx_id",              SLonglong(0), NOT_NULL),
          Column("trx_mysql_thread_id", SLonglong(0), NOT_NULL),
          Column("trx_time",            SLonglong(0), NOT_NULL),
          CEnd()
      };
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              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.