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
772d6d34
Commit
772d6d34
authored
Oct 27, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-18543 fixup: Fix 32-bit builds
parent
05a0eae3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
storage/innobase/include/page0page.h
storage/innobase/include/page0page.h
+3
-3
storage/innobase/include/page0page.ic
storage/innobase/include/page0page.ic
+3
-3
storage/innobase/row/row0import.cc
storage/innobase/row/row0import.cc
+3
-3
No files found.
storage/innobase/include/page0page.h
View file @
772d6d34
/*****************************************************************************
Copyright (c) 1994, 2019, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2013, 202
0
, MariaDB Corporation.
Copyright (c) 2013, 202
1
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -570,7 +570,7 @@ page_get_middle_rec(
Gets the page number.
@return page number */
UNIV_INLINE
u
lin
t
u
int32_
t
page_get_page_no
(
/*=============*/
const
page_t
*
page
);
/*!< in: page */
...
...
@@ -579,7 +579,7 @@ page_get_page_no(
Gets the tablespace identifier.
@return space id */
UNIV_INLINE
u
lin
t
u
int32_
t
page_get_space_id
(
/*==============*/
const
page_t
*
page
);
/*!< in: page */
...
...
storage/innobase/include/page0page.ic
View file @
772d6d34
/*****************************************************************************
Copyright (c) 1994, 2019, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2016, 202
0
, MariaDB Corporation.
Copyright (c) 2016, 202
1
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -421,7 +421,7 @@ page_get_middle_rec(
Gets the page number.
@return page number */
UNIV_INLINE
u
lin
t
u
int32_
t
page_get_page_no(
/*=============*/
const page_t* page) /*!< in: page */
...
...
@@ -435,7 +435,7 @@ page_get_page_no(
Gets the tablespace identifier.
@return space id */
UNIV_INLINE
u
lin
t
u
int32_
t
page_get_space_id(
/*==============*/
const page_t* page) /*!< in: page */
...
...
storage/innobase/row/row0import.cc
View file @
772d6d34
...
...
@@ -3229,10 +3229,10 @@ static dberr_t handle_instant_metadata(dict_table_t *table,
return
err
;
}
const
auto
zip_size
=
fil_space_t
::
zip_size
(
space_flags
);
const
u
int64_t
physical_size
=
zip_size
?
zip_size
:
srv_page_size
;
const
unsigned
zip_size
=
fil_space_t
::
zip_size
(
space_flags
);
const
u
nsigned
physical_size
=
zip_size
?
zip_size
:
unsigned
(
srv_page_size
)
;
ut_ad
(
physical_size
<=
UNIV_PAGE_SIZE_MAX
);
const
auto
space_id
=
page_get_space_id
(
first_page
.
get
());
const
uint32_t
space_id
=
page_get_space_id
(
first_page
.
get
());
auto
*
space_crypt
=
fil_space_read_crypt_data
(
zip_size
,
first_page
.
get
());
SCOPE_EXIT
([
&
space_crypt
]()
{
...
...
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