mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
One more fixup for sizeof(mtr_t) reduction
Add explicit casts when assigning ulint to m_user_space_id.
This commit is contained in:
parent
91e7b44399
commit
0d1ca19383
1 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@ struct mtr_t {
|
|||
fil_space_t* set_named_space_id(ulint space_id)
|
||||
{
|
||||
ut_ad(!m_user_space_id);
|
||||
ut_d(m_user_space_id = space_id);
|
||||
ut_d(m_user_space_id = static_cast<uint32_t>(space_id));
|
||||
if (!space_id) {
|
||||
return fil_system.sys_space;
|
||||
} else {
|
||||
|
@ -211,7 +211,7 @@ struct mtr_t {
|
|||
void set_named_space(fil_space_t* space)
|
||||
{
|
||||
ut_ad(!m_user_space_id);
|
||||
ut_d(m_user_space_id = space->id);
|
||||
ut_d(m_user_space_id = static_cast<uint32_t>(space->id));
|
||||
if (space->id) {
|
||||
m_user_space = space;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue