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
8835bdf9
Commit
8835bdf9
authored
Oct 12, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Improve diagnostic output in ibuf_insert_to_index_page()
and add some debug assertions.
parent
dd9dc4e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
ibuf/ibuf0ibuf.c
ibuf/ibuf0ibuf.c
+9
-4
No files found.
ibuf/ibuf0ibuf.c
View file @
8835bdf9
...
...
@@ -166,7 +166,7 @@ ibuf_count_check(
}
fprintf
(
stderr
,
"InnoDB: UNIV_IBUF_DEBUG limits space_id and page_no
\n
"
"InnoDB: UNIV_IBUF_
COUNT_
DEBUG limits space_id and page_no
\n
"
"InnoDB: and breaks crash recovery.
\n
"
"InnoDB: space_id=%lu, should be 0<=space_id<%lu
\n
"
"InnoDB: page_no=%lu, should be 0<=page_no<%lu
\n
"
,
...
...
@@ -2585,6 +2585,7 @@ ibuf_insert_low(
ut_a
(
!
dict_index_is_clust
(
index
));
ut_ad
(
dtuple_check_typed
(
entry
));
ut_ad
(
ut_is_2pow
(
zip_size
));
ut_a
(
trx_sys_multiple_tablespace_format
);
...
...
@@ -2825,6 +2826,7 @@ ibuf_insert(
ut_a
(
trx_sys_multiple_tablespace_format
);
ut_ad
(
dtuple_check_typed
(
entry
));
ut_ad
(
ut_is_2pow
(
zip_size
));
ut_a
(
!
dict_index_is_clust
(
index
));
...
...
@@ -2941,7 +2943,7 @@ ibuf_insert_to_index_page(
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
"InnoDB: Error: Insert buffer insert"
"
InnoDB: Error: Insert buffer insert"
" fails; page free %lu,"
" dtuple size %lu
\n
"
,
(
ulong
)
page_get_max_insert_size
(
...
...
@@ -2967,8 +2969,11 @@ ibuf_insert_to_index_page(
bitmap_page
,
page_no
,
zip_size
,
IBUF_BITMAP_FREE
,
mtr
);
fprintf
(
stderr
,
"Bitmap bits %lu
\n
"
,
(
ulong
)
old_bits
);
fprintf
(
stderr
,
"InnoDB: space %lu, page %lu,"
" zip_size %lu, bitmap bits %lu
\n
"
,
(
ulong
)
space
,
(
ulong
)
page_no
,
(
ulong
)
zip_size
,
(
ulong
)
old_bits
);
fputs
(
"InnoDB: Submit a detailed bug report"
" to http://bugs.mysql.com
\n
"
,
stderr
);
...
...
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