Skip to content

Commit ce9efb4

Browse files
committed
MDEV-34296 tpool - declare thread_local_waiter "static thread_local"
1 parent 7d86751 commit ce9efb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/log/log0sync.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void group_commit_lock::set_pending(group_commit_lock::value_type num)
186186
}
187187

188188
const unsigned int MAX_SPINS = 1; /** max spins in acquire */
189-
thread_local group_commit_waiter_t thread_local_waiter;
189+
static thread_local group_commit_waiter_t thread_local_waiter;
190190

191191
group_commit_lock::lock_return_code group_commit_lock::acquire(value_type num)
192192
{

0 commit comments

Comments
 (0)