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
e20dfbc0
Commit
e20dfbc0
authored
Apr 11, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Disable accidentally committed debug code that would break
crash recovery of uncompressed tables.
parent
9b620097
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
buf/buf0buf.c
buf/buf0buf.c
+1
-2
buf/buf0flu.c
buf/buf0flu.c
+1
-1
No files found.
buf/buf0buf.c
View file @
e20dfbc0
...
@@ -1914,8 +1914,7 @@ buf_page_io_complete(
...
@@ -1914,8 +1914,7 @@ buf_page_io_complete(
/* From version 3.23.38 up we store the page checksum
/* From version 3.23.38 up we store the page checksum
to the 4 first bytes of the page end lsn field */
to the 4 first bytes of the page end lsn field */
if
(
buf_page_is_corrupted
(
block
->
frame
,
if
(
buf_page_is_corrupted
(
block
->
frame
,
0
/*TODO:zip_size*/
))
{
block
->
space
?
16384
:
0
/* TODO */
))
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Database page corruption on disk or a failed
\n
"
"InnoDB: Database page corruption on disk or a failed
\n
"
"InnoDB: file read of page %lu.
\n
"
,
(
ulong
)
block
->
offset
);
"InnoDB: file read of page %lu.
\n
"
,
(
ulong
)
block
->
offset
);
...
...
buf/buf0flu.c
View file @
e20dfbc0
...
@@ -455,7 +455,7 @@ buf_flush_init_for_writing(
...
@@ -455,7 +455,7 @@ buf_flush_init_for_writing(
{
{
page_zip_des_t
*
page_zip
=
page_zip_
;
page_zip_des_t
*
page_zip
=
page_zip_
;
if
(
space
/* TODO: space_is_zip */
)
{
if
(
0
/*
space/* TODO: space_is_zip */
)
{
switch
(
fil_page_get_type
(
page
))
{
switch
(
fil_page_get_type
(
page
))
{
case
FIL_PAGE_TYPE_ZBLOB
:
case
FIL_PAGE_TYPE_ZBLOB
:
ut_ad
(
!
page_zip
);
ut_ad
(
!
page_zip
);
...
...
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