Commit f89436b5 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-18115: Remove a unused variable

parent 8f40c029
...@@ -4368,7 +4368,7 @@ fil_aio_wait( ...@@ -4368,7 +4368,7 @@ fil_aio_wait(
mutex_enter(&fil_system.mutex); mutex_enter(&fil_system.mutex);
fil_node_complete_io(node, type); fil_node_complete_io(node, type);
const fil_type_t purpose = node->space->purpose; ut_ad(node->space->purpose != FIL_TYPE_LOG);
const ulint space_id= node->space->id; const ulint space_id= node->space->id;
bool dblwr = node->space->use_doublewrite(); bool dblwr = node->space->use_doublewrite();
...@@ -4376,8 +4376,6 @@ fil_aio_wait( ...@@ -4376,8 +4376,6 @@ fil_aio_wait(
ut_ad(fil_validate_skip()); ut_ad(fil_validate_skip());
ut_ad(purpose != FIL_TYPE_LOG);
/* Do the i/o handling */ /* Do the i/o handling */
/* IMPORTANT: since i/o handling for reads will read also the insert /* IMPORTANT: since i/o handling for reads will read also the insert
buffer in tablespace 0, you have to be very careful not to introduce buffer in tablespace 0, you have to be very careful not to introduce
......
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