mariadb/mysql-test/suite
Darshan M N 7c9651a371 BUG#25479538 ASSERT:SIZE == SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM
Issue
=====
The original issue was that the size of a fil_per_table tablespace was calculated
incorrectly during truncate in the presence of an fts index. This incorrect calculation
was fixed as part of BUG#25053705 along with a testcase to reproduce the bug. The
assert that was added as part of it to reproduce the bug was wrong and resulted in
this bug.

Fix
===
Although the assert was removed earlier in a seperate commit as it was blocking the
ntest, this patch replaces the other parts of the code that were added to reproduce
the bug and replaces it with code that tries to reproduce the bug in a different way.

The new code basically tries to tweak conditions so as to simulate the random read
where a page that doesn't exist is tried to be read.

RB: 15890
Reviewed-by: Jimmy Yang <Jimmy.Yang@oracle.com>
Reviewed-by: Satya Bodapati <satya.bodapati@oracle.com>
2017-10-18 11:53:34 +03:00
..
archive Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
binlog Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
binlog_encryption search_pattern_in_file.inc changes 2017-03-31 19:28:58 +02:00
csv Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00
encryption MDEV-13847 Allow ALTER TABLE…ADD SPATIAL INDEX…ALGORITHM=INPLACE 2017-09-20 16:53:34 +03:00
engines Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
federated MDEV-12951 Server crash [mysqld got exception 0xc0000005] 2017-09-18 10:12:23 +02:00
funcs_1 un-disable a bunch of funcs_1 tests 2017-08-14 19:45:59 +02:00
funcs_2 Merge branch 'bb-10.2-serg-merge' into 10.2 2017-02-11 09:45:34 +01:00
galera Merge 10.1 into 10.2 2017-10-02 11:16:53 +03:00
galera_3nodes Merge 10.1 into 10.2 2017-08-31 09:30:40 +03:00
gcol Do not require a debug non-embedded server in the test 2017-09-13 16:02:31 +03:00
handler MDEV-7660 - MySQL WL#6671 "Improve scalability by not using thr_lock.c locks 2016-11-03 16:35:15 +04:00
heap MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
innodb MDEV-11336: Enable defragmentation on 10.2 when tests pass 2017-10-12 12:56:20 +03:00
innodb_fts BUG#25479538 ASSERT:SIZE == SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM 2017-10-18 11:53:34 +03:00
innodb_gis MDEV-13923 Assertion `!is_set() || (m_status == DA_OK_BULK && 2017-10-11 12:21:40 +04:00
innodb_undo Adapt the innodb_undo tests from MySQL 5.7 2017-04-26 23:03:28 +03:00
innodb_zip MDEV-13847 Allow ALTER TABLE…ADD SPATIAL INDEX…ALGORITHM=INPLACE 2017-09-20 16:53:34 +03:00
jp MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
json MDEV-13324 JSON_SET returns NULL instead of object. 2017-09-12 14:40:18 +04:00
large_tests MDEV-11002 large_tests.rpl_slave_net_timeout fails due to connection logging 2017-06-21 21:07:20 +03:00
maria Fix that FLUSH TABLES FOR EXPORT also works for Aria tables. 2017-09-21 16:34:48 +03:00
mariabackup MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior) 2017-10-10 15:54:11 +03:00
mtr/t
mtr2
multi_source MDEV-9544 Fix test case for 10.2 2017-06-10 12:57:59 +05:30
optimizer_unfixed_bugs MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
parts Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
percona
perfschema MDEV-13712 Spelling errors in the error message 2017-09-18 10:12:23 +02:00
perfschema_stress
plugins Support for server error messages in Hindi 2017-08-03 17:31:05 +04:00
roles Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
rpl Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
storage_engine Fix results for parts/repair_table test after enabling it for MyISAM 2017-08-28 19:41:13 +03:00
stress
sys_vars Merge 10.1 into 10.2 2017-10-02 11:16:53 +03:00
unit update libmariadb, enable C/C unit tests 2017-03-30 09:27:03 +02:00
vcol MDEV-13708 Crash with indexed virtual columns and FK cascading deletes 2017-09-18 10:12:23 +02:00
wsrep Merge 10.1 into 10.2 2017-08-31 09:30:40 +03:00