Commit 0d1ca193 authored by Marko Mäkelä's avatar Marko Mäkelä

One more fixup for sizeof(mtr_t) reduction

Add explicit casts when assigning ulint to m_user_space_id.
parent 91e7b443
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment