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

ER_UNKNOWN_ERROR reported due to LIMIT ROWS EXAMINED

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
    • 10.4, 10.5, 10.6
    • Information Schema
    • None

    Description

      This is forked from MDEV-28613:

      --source include/have_innodb.inc
      --error 0,ER_UNKNOWN_ERROR
      SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_INDEXES LIMIT ROWS EXAMINED 5;
      

      The cause of this is two functions in sql/sql_show.cc. It could affect also other information_schema table plugins which return nonzero when schema_table_store_record() returns nonzero. Either that function or get_schema_tables_result() or all functions in between will need to be fixed somehow, for example, the bool error code needs to be changed to int.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Git Integration

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