Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
92d7e9e5
Commit
92d7e9e5
authored
Apr 20, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete and unused global variables from srv0srv.c.
parent
76d8e7dc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
58 deletions
+0
-58
include/srv0srv.h
include/srv0srv.h
+0
-21
que/que0que.c
que/que0que.c
+0
-8
srv/srv0srv.c
srv/srv0srv.c
+0
-24
srv/srv0start.c
srv/srv0start.c
+0
-5
No files found.
include/srv0srv.h
View file @
92d7e9e5
...
...
@@ -157,33 +157,12 @@ extern ulint srv_pool_size;
extern
ulint
srv_mem_pool_size
;
extern
ulint
srv_lock_table_size
;
extern
ulint
srv_sim_disk_wait_pct
;
extern
ulint
srv_sim_disk_wait_len
;
extern
ibool
srv_sim_disk_wait_by_yield
;
extern
ibool
srv_sim_disk_wait_by_wait
;
extern
ibool
srv_measure_contention
;
extern
ibool
srv_measure_by_spin
;
extern
ibool
srv_print_thread_releases
;
extern
ibool
srv_print_lock_waits
;
extern
ibool
srv_print_buf_io
;
extern
ibool
srv_print_log_io
;
extern
ibool
srv_print_parsed_sql
;
extern
ibool
srv_print_latch_waits
;
extern
ibool
srv_test_nocache
;
extern
ibool
srv_test_cache_evict
;
extern
ibool
srv_test_extra_mutexes
;
extern
ibool
srv_test_sync
;
extern
ulint
srv_test_n_threads
;
extern
ulint
srv_test_n_loops
;
extern
ulint
srv_test_n_free_rnds
;
extern
ulint
srv_test_n_reserved_rnds
;
extern
ulint
srv_test_n_mutexes
;
extern
ulint
srv_test_array_size
;
extern
ulint
srv_activity_count
;
extern
ulint
srv_fatal_semaphore_wait_threshold
;
extern
ulint
srv_dml_needed_delay
;
...
...
que/que0que.c
View file @
92d7e9e5
...
...
@@ -1340,14 +1340,6 @@ loop:
next_thr
=
que_thr_step
(
thr
);
/*-------------------------*/
/* Test the effect on performance of adding extra mutex
reservations */
/* if (srv_test_extra_mutexes) {
mutex_enter(&kernel_mutex);
mutex_exit(&kernel_mutex);
}
*/
loop_count
++
;
if
(
next_thr
!=
thr
)
{
...
...
srv/srv0srv.c
View file @
92d7e9e5
...
...
@@ -362,30 +362,6 @@ ibool srv_print_innodb_lock_monitor = FALSE;
ibool
srv_print_innodb_tablespace_monitor
=
FALSE
;
ibool
srv_print_innodb_table_monitor
=
FALSE
;
/* The parameters below are obsolete: */
ibool
srv_print_parsed_sql
=
FALSE
;
ulint
srv_sim_disk_wait_pct
=
ULINT_MAX
;
ulint
srv_sim_disk_wait_len
=
ULINT_MAX
;
ibool
srv_sim_disk_wait_by_yield
=
FALSE
;
ibool
srv_sim_disk_wait_by_wait
=
FALSE
;
ibool
srv_measure_contention
=
FALSE
;
ibool
srv_measure_by_spin
=
FALSE
;
ibool
srv_test_extra_mutexes
=
FALSE
;
ibool
srv_test_nocache
=
FALSE
;
ibool
srv_test_cache_evict
=
FALSE
;
ibool
srv_test_sync
=
FALSE
;
ulint
srv_test_n_threads
=
ULINT_MAX
;
ulint
srv_test_n_loops
=
ULINT_MAX
;
ulint
srv_test_n_free_rnds
=
ULINT_MAX
;
ulint
srv_test_n_reserved_rnds
=
ULINT_MAX
;
ulint
srv_test_array_size
=
ULINT_MAX
;
ulint
srv_test_n_mutexes
=
ULINT_MAX
;
/* Array of English strings describing the current state of an
i/o handler thread */
...
...
srv/srv0start.c
View file @
92d7e9e5
...
...
@@ -1540,11 +1540,6 @@ NetWare. */
}
#endif
/* UNIV_LOG_ARCHIVE */
if
(
srv_measure_contention
)
{
/* os_thread_create(&test_measure_cont, NULL, thread_ids +
SRV_MAX_N_IO_THREADS); */
}
/* fprintf(stderr, "Max allowed record size %lu\n",
page_get_free_space_of_empty() / 2); */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment