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
f283baad
Commit
f283baad
authored
Jul 30, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge marko@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/marko/k/mysql-4.0
parents
c4ee1bcc
fe784f49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
innobase/include/page0page.ic
innobase/include/page0page.ic
+6
-1
innobase/row/row0sel.c
innobase/row/row0sel.c
+7
-1
No files found.
innobase/include/page0page.ic
View file @
f283baad
...
@@ -483,7 +483,12 @@ page_rec_get_next(
...
@@ -483,7 +483,12 @@ page_rec_get_next(
fprintf(stderr,
fprintf(stderr,
"InnoDB: Next record offset is nonsensical %lu in record at offset %lu\n",
"InnoDB: Next record offset is nonsensical %lu in record at offset %lu\n",
(ulong)offs, (ulong)(rec - page));
(ulong)offs, (ulong)(rec - page));
fprintf(stderr,
"\nInnoDB: rec address %lx, first buffer frame %lx\n"
"InnoDB: buffer pool high end %lx, buf fix count %lu\n",
(ulong)rec, (ulong)buf_pool->frame_zero,
(ulong)buf_pool->high_end,
(ulong)buf_block_align(rec)->buf_fix_count);
buf_page_print(page);
buf_page_print(page);
ut_a(0);
ut_a(0);
...
...
innobase/row/row0sel.c
View file @
f283baad
...
@@ -3090,7 +3090,13 @@ rec_loop:
...
@@ -3090,7 +3090,13 @@ rec_loop:
ut_print_timestamp
(
stderr
);
ut_print_timestamp
(
stderr
);
buf_page_print
(
buf_frame_align
(
rec
));
buf_page_print
(
buf_frame_align
(
rec
));
fprintf
(
stderr
,
fprintf
(
stderr
,
" InnoDB: Index corruption: rec offs %lu next offs %lu, page no %lu,
\n
"
"
\n
InnoDB: rec address %lx, first buffer frame %lx
\n
"
"InnoDB: buffer pool high end %lx, buf block fix count %lu
\n
"
,
(
ulong
)
rec
,
(
ulong
)
buf_pool
->
frame_zero
,
(
ulong
)
buf_pool
->
high_end
,
(
ulong
)
buf_block_align
(
rec
)
->
buf_fix_count
);
fprintf
(
stderr
,
"InnoDB: Index corruption: rec offs %lu next offs %lu, page no %lu,
\n
"
"InnoDB: "
,
"InnoDB: "
,
(
ulint
)(
rec
-
buf_frame_align
(
rec
)),
next_offs
,
(
ulint
)(
rec
-
buf_frame_align
(
rec
)),
next_offs
,
buf_frame_get_page_no
(
rec
));
buf_frame_get_page_no
(
rec
));
...
...
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