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

Fix a race condition

parent 9ba189b6
......@@ -3062,7 +3062,6 @@ ha_innobase::reset_template(void)
m_prebuilt->pk_filter = NULL;
m_prebuilt->template_type = ROW_MYSQL_NO_TEMPLATE;
}
m_prebuilt->trx->bulk_insert = false;
}
/*****************************************************************//**
......@@ -3117,6 +3116,7 @@ ha_innobase::init_table_handle_for_HANDLER(void)
m_prebuilt->used_in_HANDLER = TRUE;
reset_template();
m_prebuilt->trx->bulk_insert = false;
}
#ifdef WITH_INNODB_DISALLOW_WRITES
......
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