mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-21563 FTS thread aborts during shutdown
- Added the test case in innodb_fts suite - Updated copyright year in row0mysql.cc
This commit is contained in:
6
mysql-test/suite/innodb_fts/r/misc_debug2.result
Normal file
6
mysql-test/suite/innodb_fts/r/misc_debug2.result
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
call mtr.add_suppression("InnoDB: Table '.*' tablespace is set as discarded.");
|
||||||
|
CREATE TABLE mdev21563(f1 VARCHAR(100), FULLTEXT idx(f1))ENGINE=InnoDB;
|
||||||
|
set debug_dbug="+d,fts_instrument_sync_request";
|
||||||
|
INSERT INTO mdev21563 VALUES('This is a test');
|
||||||
|
ALTER TABLE mdev21563 DISCARD TABLESPACE;
|
||||||
|
DROP TABLE mdev21563;
|
11
mysql-test/suite/innodb_fts/t/misc_debug2.test
Normal file
11
mysql-test/suite/innodb_fts/t/misc_debug2.test
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--source include/have_innodb.inc
|
||||||
|
--source include/have_debug.inc
|
||||||
|
--source include/not_embedded.inc
|
||||||
|
call mtr.add_suppression("InnoDB: Table '.*' tablespace is set as discarded.");
|
||||||
|
|
||||||
|
CREATE TABLE mdev21563(f1 VARCHAR(100), FULLTEXT idx(f1))ENGINE=InnoDB;
|
||||||
|
set debug_dbug="+d,fts_instrument_sync_request";
|
||||||
|
INSERT INTO mdev21563 VALUES('This is a test');
|
||||||
|
ALTER TABLE mdev21563 DISCARD TABLESPACE;
|
||||||
|
--source include/restart_mysqld.inc
|
||||||
|
DROP TABLE mdev21563;
|
@ -1,7 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|
||||||
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
|
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
|
||||||
Copyright (c) 2015, 2019, MariaDB Corporation.
|
Copyright (c) 2015, 2020, MariaDB Corporation.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it under
|
This program is free software; you can redistribute it and/or modify it under
|
||||||
the terms of the GNU General Public License as published by the Free Software
|
the terms of the GNU General Public License as published by the Free Software
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|
||||||
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
|
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
|
||||||
Copyright (c) 2015, 2019, MariaDB Corporation.
|
Copyright (c) 2015, 2020, MariaDB Corporation.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it under
|
This program is free software; you can redistribute it and/or modify it under
|
||||||
the terms of the GNU General Public License as published by the Free Software
|
the terms of the GNU General Public License as published by the Free Software
|
||||||
|
Reference in New Issue
Block a user