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
ecb913c2
Commit
ecb913c2
authored
4 years ago
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Compare page_id_t directly
parent
abb678b6
Branches unavailable
Tags unavailable
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
storage/innobase/btr/btr0btr.cc
storage/innobase/btr/btr0btr.cc
+1
-1
storage/innobase/ibuf/ibuf0ibuf.cc
storage/innobase/ibuf/ibuf0ibuf.cc
+1
-2
storage/innobase/trx/trx0sys.cc
storage/innobase/trx/trx0sys.cc
+2
-2
No files found.
storage/innobase/btr/btr0btr.cc
View file @
ecb913c2
...
...
@@ -1049,7 +1049,7 @@ btr_create(
return
(
FIL_NULL
);
}
ut_ad
(
block
->
page
.
id
()
.
page_no
()
==
IBUF_TREE_ROOT_PAGE_NO
);
ut_ad
(
block
->
page
.
id
()
==
page_id_t
(
0
,
IBUF_TREE_ROOT_PAGE_NO
)
);
buf_block_dbg_add_level
(
block
,
SYNC_IBUF_TREE_NODE_NEW
);
...
...
This diff is collapsed.
Click to expand it.
storage/innobase/ibuf/ibuf0ibuf.cc
View file @
ecb913c2
...
...
@@ -934,8 +934,7 @@ ibuf_update_free_bits_for_two_pages_low(
@return TRUE if a fixed address ibuf i/o page */
inline
bool
ibuf_fixed_addr_page
(
const
page_id_t
page_id
,
ulint
zip_size
)
{
return
((
page_id
.
space
()
==
IBUF_SPACE_ID
&&
page_id
.
page_no
()
==
IBUF_TREE_ROOT_PAGE_NO
)
return
(
page_id
==
page_id_t
(
IBUF_SPACE_ID
,
IBUF_TREE_ROOT_PAGE_NO
)
||
ibuf_bitmap_page
(
page_id
,
zip_size
));
}
...
...
This diff is collapsed.
Click to expand it.
storage/innobase/trx/trx0sys.cc
View file @
ecb913c2
...
...
@@ -163,7 +163,7 @@ trx_sysf_create(
mtr
);
buf_block_dbg_add_level
(
block
,
SYNC_TRX_SYS_HEADER
);
ut_a
(
block
->
page
.
id
()
.
page_no
()
==
TRX_SYS_PAGE_NO
);
ut_a
(
block
->
page
.
id
()
==
page_id_t
(
0
,
TRX_SYS_PAGE_NO
)
);
mtr
->
write
<
2
>
(
*
block
,
FIL_PAGE_TYPE
+
block
->
frame
,
FIL_PAGE_TYPE_TRX_SYS
);
...
...
@@ -195,7 +195,7 @@ trx_sysf_create(
slot_no
,
block
,
mtr
);
ut_a
(
slot_no
==
TRX_SYS_SYSTEM_RSEG_ID
);
ut_a
(
rblock
->
page
.
id
()
.
page_no
()
==
FSP_FIRST_RSEG_PAGE_NO
);
ut_a
(
rblock
->
page
.
id
()
==
page_id_t
(
0
,
FSP_FIRST_RSEG_PAGE_NO
)
);
}
/** Create the instance */
...
...
This diff is collapsed.
Click to expand it.
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