mariadb/mysql-test/suite
Aditya A 44b1fb3614 WL9513 Bug#23333990 PERSISTENT INDEX STATISTICS UPDATE BEFORE TRANSACTION IS COMMITTED
PROBLEM

By design stats estimation always reading uncommitted data. In this scenario
an uncommitted transaction has deleted all rows in the table. In Innodb
uncommitted delete records are marked as delete but not actually removed
from Btree until the transaction has committed or a read view for the rows
is present.While calculating persistent stats we were ignoring the delete
marked records,since all the records are delete marked we were estimating
the number of rows present in the table as zero which leads to bad plans
in other transaction operating on the table.

Fix

Introduced a system variable called innodb_stats_include_delete_marked
which when enabled includes delete marked records for stat
calculations .
2017-04-24 17:45:23 +03:00
..
archive MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
binlog MDEV-12055: Correct binlog_stm_ctype_ucs test 2017-02-13 12:14:25 +11:00
binlog_encryption search_pattern_in_file.inc changes 2017-03-31 19:28:58 +02:00
csv MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
encryption search_pattern_in_file.inc changes 2017-03-31 19:28:58 +02:00
engines MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
federated Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
funcs_1 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
funcs_2 Merge branch 'bb-10.2-serg-merge' into 10.2 2017-02-11 09:45:34 +01:00
galera MDEV-11703 InnoDB background threads show up in the processlist 2017-03-29 00:40:21 +02:00
galera_3nodes Merge 10.1 into 10.2 2016-12-30 08:53:54 +02:00
gcol Bug#22018745 CORRUPTION IN ONLINE TABLE REBUILD (ROW_FORMAT=REDUNDANT, INDEXED VIRTUAL COLUMN) 2017-04-24 17:45:23 +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 WL9513 Bug#23333990 PERSISTENT INDEX STATISTICS UPDATE BEFORE TRANSACTION IS COMMITTED 2017-04-24 17:45:23 +03:00
innodb_fts Fixes for innodb crash recovery tests from Serg 2017-04-02 17:29:04 +00:00
innodb_gis Test result fixed. 2017-03-15 15:51:44 +04:00
innodb_zip MDEV-11995 ALTER TABLE proceeds despite reporting ER_TOO_LONG_KEY error 2017-04-07 09:55:54 +02:00
jp MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
json MDEV-11439 No data type JSON, but CAST(something AS JSON) pretends to work 2017-02-14 20:43:41 +01:00
large_tests
maria MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
mtr/t
mtr2
multi_source Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
ndb
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-03-30 12:48:42 +02:00
percona
perfschema Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
perfschema_stress
plugins Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
roles MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
rpl search_pattern_in_file.inc changes 2017-03-31 19:28:58 +02:00
storage_engine cleanup: remove Item::intro_version 2016-12-12 20:27:25 +01:00
stress
sys_vars BUG#23477773 OPTION TO TURN OFF/ON DEADLOCK CHECKER 2017-04-24 15:09:18 +03:00
unit update libmariadb, enable C/C unit tests 2017-03-30 09:27:03 +02:00
vcol vcol.wrong_arena fails in fulltest 2017-04-01 19:32:36 +02:00
wsrep MDEV-11870 Message "MariaDB Galera and flashback does not support" 2017-01-23 01:06:31 +02:00