1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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
This commit is contained in:
Sergei Golubchik
2013-04-03 16:40:47 +02:00
parent 79dff012ff
commit cc28eda62e
3 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,9 @@
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;

View File

@ -0,0 +1,21 @@
#
# 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;