Commit 50aaf5ce authored by Sergey Vojtovich's avatar Sergey Vojtovich

MDEV-4786 - merge 10.0-monty - 10.0

Fixed innodb.help_url failure.

mysql-test/suite/innodb/r/help_url.result:
  Accessing discarded tablespace doesn't cause loud error message anymore.
  Use different way to retrieve refman link.
mysql-test/suite/innodb/t/help_url.test:
  Accessing discarded tablespace doesn't cause loud error message anymore.
  Use different way to retrieve refman link.
parent e8d593fb
call mtr.add_suppression('InnoDB: Error'); create table innodb_table_monitor (a int) engine=InnoDB;
set global innodb_file_per_table=1, innodb_file_format=Barracuda; Warnings:
create table t1 (i int) engine=InnoDB; Warning 131 Using innodb_table_monitor is deprecated and it may be removed in future releases. Please use the InnoDB INFORMATION_SCHEMA tables instead, see http://dev.mysql.com/doc/refman/10.0/en/innodb-i_s-tables.html
alter table t1 discard tablespace; drop table innodb_table_monitor;
select * from t1;
ERROR HY000: Got error -1 "Internal error < 0 (Not system error)" from storage engine InnoDB
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;
...@@ -4,19 +4,5 @@ ...@@ -4,19 +4,5 @@
--source include/have_innodb.inc --source include/have_innodb.inc
--source include/not_embedded.inc --source include/not_embedded.inc
call mtr.add_suppression('InnoDB: Error'); create table innodb_table_monitor (a int) engine=InnoDB;
drop table innodb_table_monitor;
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