diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2017-12-01 12:02:51 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2017-12-08 17:55:41 +0400 |
commit | c73e77da0fa0fbdb4be5bfa1f4e441b06d1d91f9 (patch) | |
tree | 4856e83e93e685960b3005d22ad5bfeb1a26df75 /storage/innobase/sync/sync0arr.cc | |
parent | db715ff392948edf250f1c0237126fda8f17a484 (diff) | |
download | mariadb-git-c73e77da0fa0fbdb4be5bfa1f4e441b06d1d91f9.tar.gz |
MDEV-14529 - InnoDB rw-locks: optimize memory barriers
Change lock_word from lint to int32_t: the latter is my_atomic_* friendly type.
Diffstat (limited to 'storage/innobase/sync/sync0arr.cc')
-rw-r--r-- | storage/innobase/sync/sync0arr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/sync/sync0arr.cc b/storage/innobase/sync/sync0arr.cc index f1589e1f3a7..c3c2324f554 100644 --- a/storage/innobase/sync/sync0arr.cc +++ b/storage/innobase/sync/sync0arr.cc @@ -589,7 +589,7 @@ sync_array_cell_print( fprintf(file, "number of readers " ULINTPF ", waiters flag %u, " - "lock_word: " ULINTPFx "\n" + "lock_word: %x\n" "Last time read locked in file %s line %u\n" "Last time write locked in file %s line %u" #if 0 /* JAN: TODO: FIX LATER */ |