Commit 920824c2 authored by Monty's avatar Monty

Backported setting of transcation.on=1 in THD::reset_for_reuse()

This is to ensure code in 10.4 and 10.5 is logically identical for this
variable
parent a50ce944
...@@ -1640,6 +1640,7 @@ void THD::reset_for_reuse() ...@@ -1640,6 +1640,7 @@ void THD::reset_for_reuse()
abort_on_warning= 0; abort_on_warning= 0;
free_connection_done= 0; free_connection_done= 0;
m_command= COM_CONNECT; m_command= COM_CONNECT;
transaction.on= 1;
#if defined(ENABLED_PROFILING) #if defined(ENABLED_PROFILING)
profiling.reset(); profiling.reset();
#endif #endif
......
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