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

MYSQL_VERSION_MAJOR.MYSQL_VERSION_MINOR not replaced

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.0.1
    • Fix Version/s: 10.0.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      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
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            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

            Show
            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

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                sbester1 sbester1
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m