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
091a2e3b
Commit
091a2e3b
authored
Dec 12, 2011
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-5.1 to mysql-5.5.
parents
7532976d
3d58fd69
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
storage/innobase/include/page0page.h
storage/innobase/include/page0page.h
+4
-0
storage/innobase/page/page0page.c
storage/innobase/page/page0page.c
+3
-1
No files found.
storage/innobase/include/page0page.h
View file @
091a2e3b
...
@@ -893,6 +893,7 @@ page_parse_create(
...
@@ -893,6 +893,7 @@ page_parse_create(
ulint
comp
,
/*!< in: nonzero=compact page format */
ulint
comp
,
/*!< in: nonzero=compact page format */
buf_block_t
*
block
,
/*!< in: block or NULL */
buf_block_t
*
block
,
/*!< in: block or NULL */
mtr_t
*
mtr
);
/*!< in: mtr or NULL */
mtr_t
*
mtr
);
/*!< in: mtr or NULL */
#ifndef UNIV_HOTBACKUP
/************************************************************//**
/************************************************************//**
Prints record contents including the data relevant only in
Prints record contents including the data relevant only in
the index page context. */
the index page context. */
...
@@ -902,6 +903,7 @@ page_rec_print(
...
@@ -902,6 +903,7 @@ page_rec_print(
/*===========*/
/*===========*/
const
rec_t
*
rec
,
/*!< in: physical record */
const
rec_t
*
rec
,
/*!< in: physical record */
const
ulint
*
offsets
);
/*!< in: record descriptor */
const
ulint
*
offsets
);
/*!< in: record descriptor */
# ifdef UNIV_BTR_PRINT
/***************************************************************//**
/***************************************************************//**
This is used to print the contents of the directory for
This is used to print the contents of the directory for
debugging purposes. */
debugging purposes. */
...
@@ -941,6 +943,8 @@ page_print(
...
@@ -941,6 +943,8 @@ page_print(
in directory */
in directory */
ulint
rn
);
/*!< in: print rn first and last records
ulint
rn
);
/*!< in: print rn first and last records
in directory */
in directory */
# endif
/* UNIV_BTR_PRINT */
#endif
/* !UNIV_HOTBACKUP */
/***************************************************************//**
/***************************************************************//**
The following is used to validate a record on a page. This function
The following is used to validate a record on a page. This function
differs from rec_validate as it can also check the n_owned field and
differs from rec_validate as it can also check the n_owned field and
...
...
storage/innobase/page/page0page.c
View file @
091a2e3b
...
@@ -1591,13 +1591,14 @@ page_rec_print(
...
@@ -1591,13 +1591,14 @@ page_rec_print(
" n_owned: %lu; heap_no: %lu; next rec: %lu
\n
"
,
" n_owned: %lu; heap_no: %lu; next rec: %lu
\n
"
,
(
ulong
)
rec_get_n_owned_old
(
rec
),
(
ulong
)
rec_get_n_owned_old
(
rec
),
(
ulong
)
rec_get_heap_no_old
(
rec
),
(
ulong
)
rec_get_heap_no_old
(
rec
),
(
ulong
)
rec_get_next_offs
(
rec
,
TRU
E
));
(
ulong
)
rec_get_next_offs
(
rec
,
FALS
E
));
}
}
page_rec_check
(
rec
);
page_rec_check
(
rec
);
rec_validate
(
rec
,
offsets
);
rec_validate
(
rec
,
offsets
);
}
}
# ifdef UNIV_BTR_PRINT
/***************************************************************//**
/***************************************************************//**
This is used to print the contents of the directory for
This is used to print the contents of the directory for
debugging purposes. */
debugging purposes. */
...
@@ -1758,6 +1759,7 @@ page_print(
...
@@ -1758,6 +1759,7 @@ page_print(
page_dir_print
(
page
,
dn
);
page_dir_print
(
page
,
dn
);
page_print_list
(
block
,
index
,
rn
);
page_print_list
(
block
,
index
,
rn
);
}
}
# endif
/* UNIV_BTR_PRINT */
#endif
/* !UNIV_HOTBACKUP */
#endif
/* !UNIV_HOTBACKUP */
/***************************************************************//**
/***************************************************************//**
...
...
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