Skip to content

Commit

Permalink
Remove unused declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Mar 8, 2017
1 parent 47396dd commit 74fe0e0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
5 changes: 1 addition & 4 deletions storage/innobase/sync/sync0sync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Copyright (c) 2017, MariaDB Corporation. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Those modifications are gratefully acknowledged and are described
Expand Down Expand Up @@ -223,9 +223,6 @@ UNIV_INTERN mysql_pfs_key_t mutex_list_mutex_key;
/** Latching order checks start when this is set TRUE */
UNIV_INTERN ibool sync_order_checks_on = FALSE;

/** Number of slots reserved for each OS thread in the sync level array */
static const ulint SYNC_THREAD_N_LEVELS = 10000;

/** Array for tracking sync levels per thread. */
typedef std::vector<sync_level_t> sync_arr_t;

Expand Down
2 changes: 0 additions & 2 deletions storage/xtradb/srv/srv0start.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2410,8 +2410,6 @@ innobase_start_or_create_for_mysql(void)

trx_sys_create();

bool srv_monitor_thread_started = false;

if (create_new_db) {
ut_a(!srv_read_only_mode);
init_log_online();
Expand Down
5 changes: 1 addition & 4 deletions storage/xtradb/sync/sync0sync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Copyright (c) 2017, MariaDB Corporation. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Those modifications are gratefully acknowledged and are described
Expand Down Expand Up @@ -224,9 +224,6 @@ UNIV_INTERN mysql_pfs_key_t mutex_list_mutex_key;
/** Latching order checks start when this is set TRUE */
UNIV_INTERN ibool sync_order_checks_on = FALSE;

/** Number of slots reserved for each OS thread in the sync level array */
static const ulint SYNC_THREAD_N_LEVELS = 10000;

/** Array for tracking sync levels per thread. */
typedef std::vector<sync_level_t> sync_arr_t;

Expand Down

0 comments on commit 74fe0e0

Please sign in to comment.