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
eb0a4977
Commit
eb0a4977
authored
Jun 19, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
page0page.c:
Track an assertion failure reported on the mailing list June 18th, 2003
parent
beef0bf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
innobase/page/page0page.c
innobase/page/page0page.c
+16
-5
No files found.
innobase/page/page0page.c
View file @
eb0a4977
...
@@ -446,7 +446,6 @@ page_copy_rec_list_end_no_locks(
...
@@ -446,7 +446,6 @@ page_copy_rec_list_end_no_locks(
page_cur_move_to_next
(
&
cur1
);
page_cur_move_to_next
(
&
cur1
);
}
}
/* Track a memory corruption bug in Windows */
ut_a
(
mach_read_from_2
(
new_page
+
UNIV_PAGE_SIZE
-
10
)
==
PAGE_INFIMUM
);
ut_a
(
mach_read_from_2
(
new_page
+
UNIV_PAGE_SIZE
-
10
)
==
PAGE_INFIMUM
);
page_cur_set_before_first
(
new_page
,
&
cur2
);
page_cur_set_before_first
(
new_page
,
&
cur2
);
...
@@ -456,11 +455,23 @@ page_copy_rec_list_end_no_locks(
...
@@ -456,11 +455,23 @@ page_copy_rec_list_end_no_locks(
sup
=
page_get_supremum_rec
(
page
);
sup
=
page_get_supremum_rec
(
page
);
while
(
sup
!=
page_cur_get_rec
(
&
cur1
))
{
while
(
sup
!=
page_cur_get_rec
(
&
cur1
))
{
ut_a
(
if
(
!
page_cur_rec_insert
(
&
cur2
,
page_cur_rec_insert
(
&
cur2
,
page_cur_get_rec
(
&
cur1
),
mtr
));
page_cur_get_rec
(
&
cur1
),
mtr
))
{
/* Track an assertion failure reported on the mailing
list on June 18th, 2003 */
buf_page_print
(
new_page
);
buf_page_print
(
page
);
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
"InnoDB: rec offset %lu, cur1 offset %lu, cur2 offset %lu
\n
"
,
(
ulint
)(
rec
-
page
),
(
ulint
)(
page_cur_get_rec
(
&
cur1
)
-
page
),
(
ulint
)(
page_cur_get_rec
(
&
cur2
)
-
new_page
));
ut_a
(
0
);
}
ut_a
(
mach_read_from_2
(
new_page
+
UNIV_PAGE_SIZE
-
10
)
==
PAGE_INFIMUM
);
page_cur_move_to_next
(
&
cur1
);
page_cur_move_to_next
(
&
cur1
);
page_cur_move_to_next
(
&
cur2
);
page_cur_move_to_next
(
&
cur2
);
}
}
...
...
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