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

MYSQL_VERSION_MAJOR.MYSQL_VERSION_MINOR not replaced

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 10.0.1
    • 10.0.2
    • None
    • None
    • winX64, Linux x64

    Description

      The REFMAN macro is not working correctly, see the error message contains invalid URL to the documentation:

      130314  9:15:26  InnoDB: Error: table 130314  9:15:26 [Warning] Invalid (old?) table or database name '#sqlc40_2_252'
      `temp`.<result 2 when explaining filename '#sqlc40_2_252'> does not exist in the InnoDB internal
      InnoDB: data dictionary though MySQL is trying to drop it.
      InnoDB: Have you copied the .frm file of the table to the
      InnoDB: MySQL database directory from another database?
      InnoDB: You can look for further help from
      InnoDB: http://dev.mysql.com/doc/refman/MYSQL_VERSION_MAJOR.MYSQL_VERSION_MINOR/en/innodb-troubleshooting.html

      Attachments

        Activity

          I guess it wouldn't do us much good even if it worked, as it would be pointing at refman/10.0/ – we need to think of something else instead.
          Anyway, a short test case to reproduce it now on current 10.0 (it's likely to stop working the same way later, with further InnoDB merge, as the discarded tablespace will be handled differently):

          --source include/have_innodb.inc

          set global innodb_file_per_table=1, innodb_file_format=Barracuda;

          create table t1 (i int) engine=InnoDB;
          alter table t1 discard tablespace;
          --error ER_GET_ERRNO
          select * from t1;
          --cat_file $MYSQLTEST_VARDIR/log/mysqld.1.err

          elenst Elena Stepanova added a comment - I guess it wouldn't do us much good even if it worked, as it would be pointing at refman/10.0/ – we need to think of something else instead. Anyway, a short test case to reproduce it now on current 10.0 (it's likely to stop working the same way later, with further InnoDB merge, as the discarded tablespace will be handled differently): --source include/have_innodb.inc set global innodb_file_per_table=1, innodb_file_format=Barracuda; create table t1 (i int) engine=InnoDB; alter table t1 discard tablespace; --error ER_GET_ERRNO select * from t1; --cat_file $MYSQLTEST_VARDIR/log/mysqld.1.err

          People

            serg Sergei Golubchik
            sbester1 sbester1
            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.