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:
9
mysql-test/suite/innodb/r/help_url.result
Normal file
9
mysql-test/suite/innodb/r/help_url.result
Normal 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;
|
21
mysql-test/suite/innodb/t/help_url.test
Normal file
21
mysql-test/suite/innodb/t/help_url.test
Normal 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;
|
Reference in New Issue
Block a user