File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
/* ****************************************************************************
2
2
Copyright (c) 1994, 2019, Oracle and/or its affiliates. All Rights Reserved.
3
- Copyright (c) 2013, 2020 , MariaDB Corporation.
3
+ Copyright (c) 2013, 2021 , MariaDB Corporation.
4
4
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
@@ -570,7 +570,7 @@ page_get_middle_rec(
570
570
Gets the page number.
571
571
@return page number */
572
572
UNIV_INLINE
573
- ulint
573
+ uint32_t
574
574
page_get_page_no (
575
575
/* =============*/
576
576
const page_t * page); /* !< in: page */
@@ -579,7 +579,7 @@ page_get_page_no(
579
579
Gets the tablespace identifier.
580
580
@return space id */
581
581
UNIV_INLINE
582
- ulint
582
+ uint32_t
583
583
page_get_space_id (
584
584
/* ==============*/
585
585
const page_t * page); /* !< in: page */
Original file line number Diff line number Diff line change 1
1
/*****************************************************************************
2
2
3
3
Copyright (c) 1994, 2019, Oracle and/or its affiliates. All Rights Reserved.
4
- Copyright (c) 2016, 2020 , MariaDB Corporation.
4
+ Copyright (c) 2016, 2021 , MariaDB Corporation.
5
5
6
6
This program is free software; you can redistribute it and/or modify it under
7
7
the terms of the GNU General Public License as published by the Free Software
@@ -421,7 +421,7 @@ page_get_middle_rec(
421
421
Gets the page number.
422
422
@return page number */
423
423
UNIV_INLINE
424
- ulint
424
+ uint32_t
425
425
page_get_page_no(
426
426
/*=============*/
427
427
const page_t* page) /*!< in: page */
@@ -435,7 +435,7 @@ page_get_page_no(
435
435
Gets the tablespace identifier.
436
436
@return space id */
437
437
UNIV_INLINE
438
- ulint
438
+ uint32_t
439
439
page_get_space_id(
440
440
/*==============*/
441
441
const page_t* page) /*!< in: page */
Original file line number Diff line number Diff line change @@ -3229,10 +3229,10 @@ static dberr_t handle_instant_metadata(dict_table_t *table,
3229
3229
return err;
3230
3230
}
3231
3231
3232
- const auto zip_size= fil_space_t::zip_size (space_flags);
3233
- const uint64_t physical_size= zip_size ? zip_size : srv_page_size;
3232
+ const unsigned zip_size= fil_space_t::zip_size (space_flags);
3233
+ const unsigned physical_size= zip_size ? zip_size : unsigned ( srv_page_size) ;
3234
3234
ut_ad (physical_size <= UNIV_PAGE_SIZE_MAX);
3235
- const auto space_id= page_get_space_id (first_page.get ());
3235
+ const uint32_t space_id= page_get_space_id (first_page.get ());
3236
3236
3237
3237
auto *space_crypt= fil_space_read_crypt_data (zip_size, first_page.get ());
3238
3238
SCOPE_EXIT ([&space_crypt]() {
You can’t perform that action at this time.
0 commit comments