Skip to content

Commit

Permalink
Post-push fix for MDEV-11623: Remove an unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Feb 9, 2017
1 parent ef065db commit 99b2de9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions storage/innobase/fil/fil0fil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ fil_node_open_file(
ibool success;
byte* buf2;
byte* page;
ulint page_size;

ut_ad(mutex_own(&(system->mutex)));
ut_a(node->n_pending == 0);
Expand Down Expand Up @@ -682,8 +681,6 @@ fil_node_open_file(
flags = cflags;
}

page_size = fsp_flags_get_page_size(flags);

if (UNIV_UNLIKELY(space_id != space->id)) {
ib_logf(IB_LOG_LEVEL_ERROR,
"tablespace id is " ULINTPF " in the data dictionary"
Expand Down
3 changes: 0 additions & 3 deletions storage/xtradb/fil/fil0fil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,6 @@ fil_node_open_file(
ibool success;
byte* buf2;
byte* page;
ulint page_size;

ut_ad(mutex_own(&(system->mutex)));
ut_a(node->n_pending == 0);
Expand Down Expand Up @@ -687,8 +686,6 @@ fil_node_open_file(
flags = cflags;
}

page_size = fsp_flags_get_page_size(flags);

if (UNIV_UNLIKELY(space_id != space->id)) {
ib_logf(IB_LOG_LEVEL_ERROR,
"tablespace id is " ULINTPF " in the data dictionary"
Expand Down

0 comments on commit 99b2de9

Please sign in to comment.