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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
eb1c9462
Commit
eb1c9462
authored
Oct 17, 2008
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Plain Diff
Fixed more compiler warnings
parents
1df8f925
db149fe6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
storage/innobase/os/os0file.c
storage/innobase/os/os0file.c
+2
-2
storage/innobase/srv/srv0srv.c
storage/innobase/srv/srv0srv.c
+3
-1
storage/innobase/srv/srv0start.c
storage/innobase/srv/srv0start.c
+6
-4
No files found.
storage/innobase/os/os0file.c
View file @
eb1c9462
...
@@ -4403,9 +4403,9 @@ os_aio_print(
...
@@ -4403,9 +4403,9 @@ os_aio_print(
putc
(
'\n'
,
file
);
putc
(
'\n'
,
file
);
fprintf
(
file
,
fprintf
(
file
,
"Summary of background IO slot status: %lu issued, "
"Summary of background IO slot status: %lu issued, "
"%lu done, %lu claimed, sleep set %
u
\n
"
,
"%lu done, %lu claimed, sleep set %
d
\n
"
,
num_issued
,
num_done
,
num_claimed
,
num_issued
,
num_done
,
num_claimed
,
os_aio_recommend_sleep_for_read_threads
);
(
int
)
os_aio_recommend_sleep_for_read_threads
);
putc
(
'\n'
,
file
);
putc
(
'\n'
,
file
);
current_time
=
time
(
NULL
);
current_time
=
time
(
NULL
);
...
...
storage/innobase/srv/srv0srv.c
View file @
eb1c9462
...
@@ -706,7 +706,9 @@ srv_print_extra(
...
@@ -706,7 +706,9 @@ srv_print_extra(
(
double
)
srv_thread_wait_mics
/
1000000
.
0
);
(
double
)
srv_thread_wait_mics
/
1000000
.
0
);
fprintf
(
file
,
fprintf
(
file
,
"spinlock delay for %d delay %d rounds is %lld mics
\n
"
,
"spinlock delay for %d delay %d rounds is %lld mics
\n
"
,
srv_spin_wait_delay
,
SYNC_SPIN_ROUNDS
,
srv_timed_spin_delay
);
(
int
)
srv_spin_wait_delay
,
(
int
)
SYNC_SPIN_ROUNDS
,
srv_timed_spin_delay
);
}
}
/*************************************************************************
/*************************************************************************
...
...
storage/innobase/srv/srv0start.c
View file @
eb1c9462
...
@@ -1251,8 +1251,10 @@ innobase_start_or_create_for_mysql(void)
...
@@ -1251,8 +1251,10 @@ innobase_start_or_create_for_mysql(void)
/* Restrict the maximum number of file i/o threads */
/* Restrict the maximum number of file i/o threads */
if
((
srv_n_read_io_threads
+
srv_n_write_io_threads
)
>
SRV_MAX_N_IO_THREADS
)
{
if
((
srv_n_read_io_threads
+
srv_n_write_io_threads
)
>
SRV_MAX_N_IO_THREADS
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: requested too many read(%u) or write(%u) IO threads, max is %d
\n
"
,
"InnoDB: requested too many read(%d) or write(%d) IO threads, max is %d
\n
"
,
srv_n_read_io_threads
,
srv_n_write_io_threads
,
SRV_MAX_N_IO_THREADS
);
(
int
)
srv_n_read_io_threads
,
(
int
)
srv_n_write_io_threads
,
SRV_MAX_N_IO_THREADS
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
}
}
...
@@ -1272,8 +1274,8 @@ innobase_start_or_create_for_mysql(void)
...
@@ -1272,8 +1274,8 @@ innobase_start_or_create_for_mysql(void)
if
(
n_threads
>
SRV_MAX_N_IO_THREADS
)
{
if
(
n_threads
>
SRV_MAX_N_IO_THREADS
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: requested too many IO threads(%
u
), max is %d
\n
"
,
"InnoDB: requested too many IO threads(%
d
), max is %d
\n
"
,
n_threads
,
SRV_MAX_N_IO_THREADS
);
(
int
)
n_threads
,
SRV_MAX_N_IO_THREADS
);
return
(
DB_ERROR
);
return
(
DB_ERROR
);
}
}
...
...
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