Commit cc28eda6 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-4273 MYSQL_VERSION_MAJOR.MYSQL_VERSION_MINOR not replaced

rename s/MYSQL_MAJOR_VERSION/MYSQL_VERSION_MAJOR/ and
s/MYSQL_MINOR_VERSION/MYSQL_VERSION_MINOR/ to match 5.6
parent 79dff012
......@@ -619,8 +619,8 @@
#cmakedefine SO_EXT "@CMAKE_SHARED_MODULE_SUFFIX@"
#define MYSQL_MAJOR_VERSION @MAJOR_VERSION@
#define MYSQL_MINOR_VERSION @MINOR_VERSION@
#define MYSQL_VERSION_MAJOR @MAJOR_VERSION@
#define MYSQL_VERSION_MINOR @MINOR_VERSION@
#define MYSQL_VERSION_PATCH @PATCH_VERSION@
#define MYSQL_VERSION_EXTRA "@EXTRA_VERSION@"
......
call mtr.add_suppression('InnoDB: Error');
set global innodb_file_per_table=1, innodb_file_format=Barracuda;
create table t1 (i int) engine=InnoDB;
alter table t1 discard tablespace;
select * from t1;
ERROR HY000: Got error -1 "Internal error < 0 (Not system error)" from storage engine
InnoDB: http://dev.mysql.com/doc/refman/10.0/en/innodb-troubleshooting.html
drop table t1;
set global innodb_file_per_table=default, innodb_file_format=default;
#
# MDEV-4273 MYSQL_VERSION_MAJOR.MYSQL_VERSION_MINOR not replaced
#
--source include/have_innodb.inc
call mtr.add_suppression('InnoDB: Error');
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;
perl;
@ARGV = ("$ENV{MYSQLTEST_VARDIR}/log/mysqld.1.err");
print ((grep {/innodb-troubleshooting/} <>)[-1]);
EOF
drop table t1;
set global innodb_file_per_table=default, innodb_file_format=default;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment