summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0sys.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-11-14 14:49:20 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-14 14:49:20 +0200
commitae90f8431ba80383f75810248ddaaa9d2c6fd09f (patch)
tree8f4e6f29d991188b01db6695c3229f6201cc6121 /storage/innobase/trx/trx0sys.cc
parentc454b8964c10301dceab6d1a5489350a0f8fbf9c (diff)
parent89ae01fd0085cf0d1af272eca545e49fdadf4538 (diff)
downloadmariadb-git-ae90f8431ba80383f75810248ddaaa9d2c6fd09f.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'storage/innobase/trx/trx0sys.cc')
-rw-r--r--storage/innobase/trx/trx0sys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/trx/trx0sys.cc b/storage/innobase/trx/trx0sys.cc
index f41bf942b2b..4c0ca852aef 100644
--- a/storage/innobase/trx/trx0sys.cc
+++ b/storage/innobase/trx/trx0sys.cc
@@ -156,7 +156,7 @@ trx_sysf_create(
then enter the kernel: we must do it in this order to conform
to the latching order rules. */
- mtr_x_lock(&fil_system.sys_space->latch, mtr);
+ mtr_x_lock_space(fil_system.sys_space, mtr);
compile_time_assert(TRX_SYS_SPACE == 0);
/* Create the trx sys file block in a new allocated file segment */