Skip to content

Commit

Permalink
Fix controle transação
Browse files Browse the repository at this point in the history
  • Loading branch information
glprog committed Apr 18, 2020
1 parent 0968ac9 commit 0267c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MiniREST.SQL.SQLDb.pas
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ procedure TMiniRESTSQLConnectionSQLDb.SetMiniRESTSQLParamToSQLParam(AMiniRESTSQL
function TMiniRESTSQLConnectionSQLDb.InTransaction: Boolean;
begin
CheckConnectionIsValid;
Result := FSQLConnection.Transaction.Active;
Result := FInExplicitTransaction and FSQLConnection.Transaction.Active;
end;

function TMiniRESTSQLConnectionFactorySQLDb.GetConnectionsCount: Integer;
Expand Down

0 comments on commit 0267c67

Please sign in to comment.