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
3f96bc06
Commit
3f96bc06
authored
Nov 08, 2002
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log0recv.c:
Removed compiler warnings about wrong printf formats
parent
7b521b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
innobase/log/log0recv.c
innobase/log/log0recv.c
+7
-5
No files found.
innobase/log/log0recv.c
View file @
3f96bc06
...
@@ -1371,7 +1371,9 @@ recv_apply_log_recs_for_backup(
...
@@ -1371,7 +1371,9 @@ recv_apply_log_recs_for_backup(
if
(
recv_max_parsed_page_no
>=
n_pages_total
)
{
if
(
recv_max_parsed_page_no
>=
n_pages_total
)
{
printf
(
printf
(
"InnoDB: Error: tablespace size %lu pages, but a log record on page %lu!
\n
"
,
"InnoDB: Error: tablespace size %lu pages, but a log record on page %lu!
\n
"
"InnoDB: Are you sure you have specified all the ibdata files right in
\n
"
"InnoDB: the my.cnf file you gave as the argument to ibbackup --restore?
\n
"
,
n_pages_total
,
recv_max_parsed_page_no
);
n_pages_total
,
recv_max_parsed_page_no
);
}
}
...
@@ -1395,7 +1397,7 @@ recv_apply_log_recs_for_backup(
...
@@ -1395,7 +1397,7 @@ recv_apply_log_recs_for_backup(
&
success
);
&
success
);
if
(
!
success
)
{
if
(
!
success
)
{
printf
(
printf
(
"InnoDB: Error: cannot open %lu'th data file
%s
\n
"
,
nth_file
);
"InnoDB: Error: cannot open %lu'th data file
\n
"
,
nth_file
);
exit
(
1
);
exit
(
1
);
}
}
...
@@ -1411,7 +1413,7 @@ recv_apply_log_recs_for_backup(
...
@@ -1411,7 +1413,7 @@ recv_apply_log_recs_for_backup(
UNIV_PAGE_SIZE
);
UNIV_PAGE_SIZE
);
if
(
!
success
)
{
if
(
!
success
)
{
printf
(
printf
(
"InnoDB: Error: cannot read page no %lu from %lu'th data file
%s
\n
"
,
"InnoDB: Error: cannot read page no %lu from %lu'th data file
\n
"
,
nth_page_in_file
,
nth_file
);
nth_page_in_file
,
nth_file
);
exit
(
1
);
exit
(
1
);
...
@@ -1439,7 +1441,7 @@ recv_apply_log_recs_for_backup(
...
@@ -1439,7 +1441,7 @@ recv_apply_log_recs_for_backup(
UNIV_PAGE_SIZE
);
UNIV_PAGE_SIZE
);
if
(
!
success
)
{
if
(
!
success
)
{
printf
(
printf
(
"InnoDB: Error: cannot write page no %lu to %lu'th data file
%s
\n
"
,
"InnoDB: Error: cannot write page no %lu to %lu'th data file
\n
"
,
nth_page_in_file
,
nth_file
);
nth_page_in_file
,
nth_file
);
exit
(
1
);
exit
(
1
);
...
@@ -1797,7 +1799,7 @@ recv_report_corrupt_log(
...
@@ -1797,7 +1799,7 @@ recv_report_corrupt_log(
"InnoDB: Recv offset %lu, prev %lu
\n
"
,
"InnoDB: Recv offset %lu, prev %lu
\n
"
,
recv_previous_parsed_rec_type
,
recv_previous_parsed_rec_type
,
recv_previous_parsed_rec_is_multi
,
recv_previous_parsed_rec_is_multi
,
ptr
-
recv_sys
->
buf
,
(
ulint
)(
ptr
-
recv_sys
->
buf
)
,
recv_previous_parsed_rec_offset
);
recv_previous_parsed_rec_offset
);
if
((
ulint
)(
ptr
-
recv_sys
->
buf
+
100
)
if
((
ulint
)(
ptr
-
recv_sys
->
buf
+
100
)
...
...
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