Skip to content

Commit 3050d5e

Browse files
committed
Merge 10.6 into 10.7
2 parents da46c37 + 83dbf2c commit 3050d5e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

storage/innobase/include/page0page.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*****************************************************************************
22
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.
44
55
This program is free software; you can redistribute it and/or modify it under
66
the terms of the GNU General Public License as published by the Free Software

storage/innobase/row/row0import.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3184,10 +3184,10 @@ static dberr_t handle_instant_metadata(dict_table_t *table,
31843184
return err;
31853185
}
31863186

3187-
const auto zip_size= fil_space_t::zip_size(space_flags);
3188-
const uint64_t physical_size= zip_size ? zip_size : srv_page_size;
3187+
const unsigned zip_size= fil_space_t::zip_size(space_flags);
3188+
const unsigned physical_size= zip_size ? zip_size : unsigned(srv_page_size);
31893189
ut_ad(physical_size <= UNIV_PAGE_SIZE_MAX);
3190-
const auto space_id= page_get_space_id(first_page.get());
3190+
const uint32_t space_id= page_get_space_id(first_page.get());
31913191

31923192
auto *space_crypt= fil_space_read_crypt_data(zip_size, first_page.get());
31933193
SCOPE_EXIT([&space_crypt]() {

0 commit comments

Comments
 (0)