diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-01-30 20:59:42 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-01-31 20:13:34 +0400 |
commit | bc7a1dc1fbd27e6064d3b40443fe242397668af7 (patch) | |
tree | 51de97bcd55f59957436067920a662084df230dd /storage/innobase/row/row0row.cc | |
parent | c0d5d7c0efb6d2b9961da7fb813ff000a5d3e4c5 (diff) | |
download | mariadb-git-bc7a1dc1fbd27e6064d3b40443fe242397668af7.tar.gz |
MDEV-15104 - Optimise MVCC snapshot
With trx_sys_t::rw_trx_ids removal, MVCC snapshot overhead became
slightly higher. That is instead of copying an array we now have to
iterate LF_HASH. All this done under trx_sys.mutex protection.
This patch moves MVCC snapshot out of trx_sys.mutex.
Clean-ups:
Removed MVCC: doesn't make too much sense to keep it in a separate class
anymore.
Refactored ReadView so that it now calls register()/deregister() routines
(it was vice versa before).
ReadView doesn't have friends anymore. :(
Even less trx_sys.mutex references.
Diffstat (limited to 'storage/innobase/row/row0row.cc')
-rw-r--r-- | storage/innobase/row/row0row.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/innobase/row/row0row.cc b/storage/innobase/row/row0row.cc index a3248dc19ee..024c54cfe22 100644 --- a/storage/innobase/row/row0row.cc +++ b/storage/innobase/row/row0row.cc @@ -41,7 +41,6 @@ Created 4/20/1996 Heikki Tuuri #include "row0ext.h" #include "row0upd.h" #include "rem0cmp.h" -#include "read0read.h" #include "ut0mem.h" #include "gis0geo.h" #include "row0mysql.h" |