Skip to content

Commit 74fe0e0

Browse files
committed
Remove unused declarations.
1 parent 47396dd commit 74fe0e0

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

storage/innobase/sync/sync0sync.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
44
Copyright (c) 2008, Google Inc.
5-
Copyright (c) 2017, MariaDB Corporation. All Rights Reserved.
5+
Copyright (c) 2017, MariaDB Corporation.
66
77
Portions of this file contain modifications contributed and copyrighted by
88
Google, Inc. Those modifications are gratefully acknowledged and are described
@@ -223,9 +223,6 @@ UNIV_INTERN mysql_pfs_key_t mutex_list_mutex_key;
223223
/** Latching order checks start when this is set TRUE */
224224
UNIV_INTERN ibool sync_order_checks_on = FALSE;
225225

226-
/** Number of slots reserved for each OS thread in the sync level array */
227-
static const ulint SYNC_THREAD_N_LEVELS = 10000;
228-
229226
/** Array for tracking sync levels per thread. */
230227
typedef std::vector<sync_level_t> sync_arr_t;
231228

storage/xtradb/srv/srv0start.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,8 +2410,6 @@ innobase_start_or_create_for_mysql(void)
24102410

24112411
trx_sys_create();
24122412

2413-
bool srv_monitor_thread_started = false;
2414-
24152413
if (create_new_db) {
24162414
ut_a(!srv_read_only_mode);
24172415
init_log_online();

storage/xtradb/sync/sync0sync.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
44
Copyright (c) 2008, Google Inc.
5-
Copyright (c) 2017, MariaDB Corporation. All Rights Reserved.
5+
Copyright (c) 2017, MariaDB Corporation.
66
77
Portions of this file contain modifications contributed and copyrighted by
88
Google, Inc. Those modifications are gratefully acknowledged and are described
@@ -224,9 +224,6 @@ UNIV_INTERN mysql_pfs_key_t mutex_list_mutex_key;
224224
/** Latching order checks start when this is set TRUE */
225225
UNIV_INTERN ibool sync_order_checks_on = FALSE;
226226

227-
/** Number of slots reserved for each OS thread in the sync level array */
228-
static const ulint SYNC_THREAD_N_LEVELS = 10000;
229-
230227
/** Array for tracking sync levels per thread. */
231228
typedef std::vector<sync_level_t> sync_arr_t;
232229

0 commit comments

Comments
 (0)