Commit a71033d4 authored by Andy Yates's avatar Andy Yates
Browse files

Missed out the call to stop the connection from disconnecting which is now present

parent 543d5959
......@@ -502,6 +502,7 @@ sub transaction {
my $perform_transaction = $self->_perform_transaction_code();
if($perform_transaction) {
$original_dwi = $dbc->disconnect_when_inactive();
$dbc->disconnect_when_inactive(0);
$ac = $dbc->db_handle()->{'AutoCommit'};
$dbc->db_handle()->{'AutoCommit'} = 0;
$self->_enable_transaction();
......
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