[MDEV-4273] MYSQL_VERSION_MAJOR.MYSQL_VERSION_MINOR not replaced Created: 2013-03-14  Updated: 2013-04-04  Resolved: 2013-04-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.1
Fix Version/s: 10.0.2

Type: Bug Priority: Trivial
Reporter: sbester1 Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
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



 Comments   
Comment by Elena Stepanova [ 2013-03-14 ]

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

Generated at Thu Feb 08 06:55:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.