diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-09-29 09:38:19 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-09-29 09:39:08 +0300 |
commit | 83a520dbbbfb40fdc8bcd34f8a9e9035c458ad08 (patch) | |
tree | 8d7206c928f63e1316939738fd17d4fbebbdacce /storage/xtradb | |
parent | fdb3c64e429cdc6f2370b7f4eefc0fbaf72eac6d (diff) | |
download | mariadb-git-83a520dbbbfb40fdc8bcd34f8a9e9035c458ad08.tar.gz |
Cleanup: Remove unused rw_lock_t::writer_is_wait_ex
This was missed in commit 2c252ba96b8f124f81371ec86843a45dc3977d54
(MySQL 5.5.42, MariaDB 5.5.42).
Diffstat (limited to 'storage/xtradb')
-rw-r--r-- | storage/xtradb/include/sync0rw.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/storage/xtradb/include/sync0rw.h b/storage/xtradb/include/sync0rw.h index 2e25a27192e..19b4793fc7b 100644 --- a/storage/xtradb/include/sync0rw.h +++ b/storage/xtradb/include/sync0rw.h @@ -2,6 +2,7 @@ Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2008, Google Inc. +Copyright (c) 2020, MariaDB Corporation. Portions of this file contain modifications contributed and copyrighted by Google, Inc. Those modifications are gratefully acknowledged and are described @@ -763,13 +764,6 @@ struct rw_lock_t { /* last s-lock file/line is not guaranteed to be correct */ const char* last_s_file_name;/*!< File name where last s-locked */ const char* last_x_file_name;/*!< File name where last x-locked */ - ibool writer_is_wait_ex; - /*!< This is TRUE if the writer field is - RW_LOCK_WAIT_EX; this field is located far - from the memory update hotspot fields which - are at the start of this struct, thus we can - peek this field without causing much memory - bus traffic */ unsigned cline:14; /*!< Line where created */ unsigned last_s_line:14; /*!< Line number where last time s-locked */ unsigned last_x_line:14; /*!< Line number where last time x-locked */ |