Commit 99b2de92 authored by Marko Mäkelä's avatar Marko Mäkelä

Post-push fix for MDEV-11623: Remove an unused variable.

parent ef065dbb
...@@ -596,7 +596,6 @@ fil_node_open_file( ...@@ -596,7 +596,6 @@ fil_node_open_file(
ibool success; ibool success;
byte* buf2; byte* buf2;
byte* page; byte* page;
ulint page_size;
ut_ad(mutex_own(&(system->mutex))); ut_ad(mutex_own(&(system->mutex)));
ut_a(node->n_pending == 0); ut_a(node->n_pending == 0);
...@@ -682,8 +681,6 @@ fil_node_open_file( ...@@ -682,8 +681,6 @@ fil_node_open_file(
flags = cflags; flags = cflags;
} }
page_size = fsp_flags_get_page_size(flags);
if (UNIV_UNLIKELY(space_id != space->id)) { if (UNIV_UNLIKELY(space_id != space->id)) {
ib_logf(IB_LOG_LEVEL_ERROR, ib_logf(IB_LOG_LEVEL_ERROR,
"tablespace id is " ULINTPF " in the data dictionary" "tablespace id is " ULINTPF " in the data dictionary"
......
...@@ -601,7 +601,6 @@ fil_node_open_file( ...@@ -601,7 +601,6 @@ fil_node_open_file(
ibool success; ibool success;
byte* buf2; byte* buf2;
byte* page; byte* page;
ulint page_size;
ut_ad(mutex_own(&(system->mutex))); ut_ad(mutex_own(&(system->mutex)));
ut_a(node->n_pending == 0); ut_a(node->n_pending == 0);
...@@ -687,8 +686,6 @@ fil_node_open_file( ...@@ -687,8 +686,6 @@ fil_node_open_file(
flags = cflags; flags = cflags;
} }
page_size = fsp_flags_get_page_size(flags);
if (UNIV_UNLIKELY(space_id != space->id)) { if (UNIV_UNLIKELY(space_id != space->id)) {
ib_logf(IB_LOG_LEVEL_ERROR, ib_logf(IB_LOG_LEVEL_ERROR,
"tablespace id is " ULINTPF " in the data dictionary" "tablespace id is " ULINTPF " in the data dictionary"
......
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