mariadb/mysql-test/suite
Sachin Agarwal 197bf0fe35 Bug #26334149 - MYSQL CRASHES WHEN FULL TEXT INDEXES IBD FILES ARE ORPHANED DUE TO RENAME TABLE
Problem:
When FTS index is added into a table which doesn't have 'FTS_DOC_ID'
column, Innodb rebuilds table to add column 'FTS_DOC_ID'. when this FTS
index is dropped from this table. Innodb doesn't not rebuild table to
remove 'FTS_DOC_ID' column and deletes FTS index auxiliary tables.
But it doesn't delete FTS common auxiliary tables.
Later when the database having this table is renamed, FTS auxiliary
tables are not renamed because table's flags2 (dict_table_t.flags2)
has been resetted for DICT_TF2_FTS flag during FTS index drop operation.
Now when we drop old database, it leads to an assert.

Fix:
During renaming of FTS auxiliary tables, ORed a condition to check if
table has DICT_TF2_FTS_HAS_DOC_ID flag set.

RB: 18769
Reviewed by : Jimmy.Yang@oracle.com
2018-05-11 17:26:40 +03:00
..
archive MDEV-12915 ST_Centroid does not return the same result than MySQL. 2017-08-01 09:52:56 +02:00
binlog MDEV-12436: binlog.binlog_unsafe - assumed len(hostname) <= 50 (#385) 2017-07-15 19:45:37 +03:00
csv MDEV-11883 MariaDB crashes with out-of-memory when query information_schema 2017-05-15 22:23:10 +02:00
engines include/master-slave.inc must always be included last 2017-09-20 18:17:50 +02:00
federated Post MDEV-11902 Fix test failures in maria and myisam storage engines 2017-03-03 20:12:48 +02:00
funcs_1 Merge branch '5.5' into 10.0 2016-07-12 22:20:46 +02:00
funcs_2 MDEV-11700 funcs_2.innodb_charset fails in buldbot on valgrind builder with timeout 2017-01-05 17:33:48 +02:00
handler 10.0-base merge 2014-02-03 15:22:39 +01:00
heap 5.5.40+ merge 2014-10-09 10:30:11 +02:00
innodb Bug #26334149 - MYSQL CRASHES WHEN FULL TEXT INDEXES IBD FILES ARE ORPHANED DUE TO RENAME TABLE 2018-05-11 17:26:40 +03:00
innodb_fts Bug #27041445 SERVER ABORTS IF FTS_DOC_ID EXCEEDS FTS_DOC_ID_MAX_STEP 2018-05-11 15:52:45 +03:00
innodb_zip MDEV-14140 IMPORT TABLESPACE must not go beyond FSP_FREE_LIMIT 2017-11-06 14:55:34 +02:00
jp Merge branch '5.5' into 10.0 2015-10-09 17:12:26 +02:00
large_tests
maria Merge branch '5.5' into 10.0 2018-02-22 09:22:03 +01:00
mtr/t
mtr2 Fix for overlayed include files on Windows and a test case 2013-11-10 14:37:32 +04:00
multi_source Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
ndb Bug #18075170 SQL NODE RESTART REQUIRED TO 2015-05-11 16:05:50 +05:30
optimizer_unfixed_bugs MDEV-11231 Server crashes in check_duplicate_key on CREATE TABLE ... SELECT 2016-12-04 01:59:35 +01:00
parts MDEV-15456 Server crashes upon adding or dropping a partition in ALTER under LOCK TABLE after ER_SAME_NAME_PARTITION 2018-04-26 14:08:03 +02:00
percona MDEV-8287 DROP TABLE suppresses all engine errors 2015-06-16 23:58:40 +02:00
perfschema Merge remote-tracking branch 'origin/5.5' into 10.0 2017-07-25 00:41:54 +03:00
perfschema_stress perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
plugins MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin. 2018-05-10 19:17:06 +04:00
roles MDEV-12366: FLUSH PRIVILEGES can break hierarchy of roles 2017-12-19 12:33:25 +02:00
rpl MDEV-15216 Assertion `! is_set() || m_can_overwrite_status' failed in Diagnostics_area::set_error_status upon operation inside XA 2018-05-08 10:48:13 +02:00
storage_engine MDEV-12915 ST_Centroid does not return the same result than MySQL 2017-08-01 09:52:59 +02:00
stress Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
sys_vars Increase number of max table_open_cache instances 2018-04-26 14:21:36 +03:00
unit
vcol Merge branch '5.5' into 10.0 2017-10-18 15:14:39 +02:00