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

Can't load common_schema

    XMLWordPrintable

Details

    Description

      Loading common_schema version 2.2 results in error:

      ERROR 1644 (91100) at line 12146: QueryScript error: [Unsupported token: "sta"] at 5: "try {
      set @common_schema_percona_server_expected := @common_schema_percon

      This looks like a bug in SELECT INTO queries. I have pinpointed it to query at line 6063:

      SELECT level, token, state FROM _sql_tokens WHERE id = id_from INTO statement_level, first_token, first_state;

      This query returns normally:
      0 \n whitespace

      but the variables get values as if the query returned:
      0 sta white

      Attachments

        Activity

          People

            Unassigned Unassigned
            pomyk Patryk Pomykalski
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.