mariadb/storage/innobase
Marko Mäkelä df44e75b42 Minor clean-up of purge code
purge_sys_t::n_submitted: Document that it is only accessed by
srv_purge_coordinator_thread.

purge_sys_t::n_completed: Exclusively use my_atomic access.

srv_task_execute(): Simplify the code.

srv_purge_coordinator_thread(): Test the cheaper condition first.

trx_purge(): Atomically access purge_sys.n_completed.
Remove some code duplication.

trx_purge_wait_for_workers_to_complete(): Atomically access
purge_sys.n_completed. Remove an unnecessary local variable.

trx_purge_stop(): Remove a redundant assignment.
2018-04-08 18:11:49 +03:00
..
btr Revert "MDEV-12266: Remove lookups when dropping indexes" 2018-03-30 21:36:56 +03:00
buf MDEV-15773 - trx_sys.mysql_trx_list -> trx_sys.trx_list 2018-04-04 14:09:37 +04:00
data Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
dict MDEV-15348 Failure to load CREATE SEQUENCE...ROW_FORMAT=REDUNDANT 2018-04-07 04:22:44 +03:00
eval MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL 2017-03-17 12:42:07 +02:00
fil MDEV-15767 innodb.101_compatibility fails 2018-04-04 08:22:33 +03:00
fsp MDEV-12266: Change dict_table_t::space to fil_space_t* 2018-03-29 22:02:05 +03:00
fts MDEV-15773 - Simplified away trx_free_for_(mysql|background) 2018-04-04 14:09:37 +04:00
fut review fixes 2018-02-16 22:15:51 +03:00
gis MDEV-12266: Change dict_table_t::space to fil_space_t* 2018-03-29 22:02:05 +03:00
ha Skip btr_search_latches[] in SHOW ENGINE INNODB STATUS 2017-12-12 20:00:28 +02:00
handler MDEV-15773 - Simplified away trx_free_for_(mysql|background) 2018-04-04 14:09:37 +04:00
ibuf MDEV-12266: Change dict_table_t::space to fil_space_t* 2018-03-29 22:02:05 +03:00
include Minor clean-up of purge code 2018-04-08 18:11:49 +03:00
lock MDEV-15773 - trx_sys.mysql_trx_list -> trx_sys.trx_list 2018-04-04 14:09:37 +04:00
log Merge 10.2 into 10.3 2018-04-04 08:24:57 +03:00
mach Fix Bug#24707869 GCC 5 AND 6 MISCOMPILE MACH_PARSE_COMPRESSED 2017-04-26 23:03:29 +03:00
mem Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
mtr MDEV-12266: Change dict_table_t::space to fil_space_t* 2018-03-29 22:02:05 +03:00
mysql-test/storage_engine Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
os Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
page MDEV-12266: Change dict_table_t::space to fil_space_t* 2018-03-29 22:02:05 +03:00
pars MDEV-12266: Change dict_table_t::space to fil_space_t* 2018-03-29 22:02:05 +03:00
que Dead code removal: sess_t 2018-02-15 15:00:46 +00:00
read MDEV-15773 - Simplified away trx_sys_t::m_views 2018-04-04 14:09:37 +04:00
rem Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
row MDEV-12266 fixup: Fix bug in row_ins_sec_index_entry() 2018-04-08 18:04:24 +03:00
srv Minor clean-up of purge code 2018-04-08 18:11:49 +03:00
sync Allocate lock_sys statically 2018-02-23 08:18:18 +02:00
trx Minor clean-up of purge code 2018-04-08 18:11:49 +03:00
ut Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
bzip2.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
CMakeLists.txt Merge branch 'bb-10.2-ext' into 10.3 2018-02-23 08:43:34 +01:00
compile-innodb move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Google move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Percona move to storage/innobase 2015-05-04 19:17:21 +02:00
innodb.cmake Merge 10.2 into 10.3 2018-04-04 08:24:57 +03:00
lz4.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzma.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzo.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
plugin_exports
snappy.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00