Skip to content

Commit

Permalink
Fixed BypassCustomPluginExecution and MaxDOP
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed May 25, 2022
1 parent 9909209 commit 860bd40
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MarkMpn.Sql4Cds.Engine/ExecutionPlan/AssignVariablesNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ public override object Clone()
{
var clone = new AssignVariablesNode
{
BypassCustomPluginExecution = BypassCustomPluginExecution,
DataSource = DataSource,
Index = Index,
Length = Length,
MaxDOP = MaxDOP,
Source = (IExecutionPlanNodeInternal)Source.Clone(),
Sql = Sql
};
Expand Down
2 changes: 2 additions & 0 deletions MarkMpn.Sql4Cds.Engine/ExecutionPlan/DeleteNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,12 @@ public override object Clone()
{
var clone = new DeleteNode
{
BypassCustomPluginExecution = BypassCustomPluginExecution,
DataSource = DataSource,
Index = Index,
Length = Length,
LogicalName = LogicalName,
MaxDOP = MaxDOP,
PrimaryIdSource = PrimaryIdSource,
SecondaryIdSource = SecondaryIdSource,
Source = (IExecutionPlanNodeInternal)Source.Clone(),
Expand Down
2 changes: 2 additions & 0 deletions MarkMpn.Sql4Cds.Engine/ExecutionPlan/ExecuteAsNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,11 @@ public override object Clone()
{
var clone = new ExecuteAsNode
{
BypassCustomPluginExecution = BypassCustomPluginExecution,
DataSource = DataSource,
Index = Index,
Length = Length,
MaxDOP = MaxDOP,
Source = (IExecutionPlanNodeInternal)Source.Clone(),
Sql = Sql,
UserIdSource = UserIdSource
Expand Down
2 changes: 2 additions & 0 deletions MarkMpn.Sql4Cds.Engine/ExecutionPlan/InsertNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,12 @@ public override object Clone()
{
var clone = new InsertNode
{
BypassCustomPluginExecution = BypassCustomPluginExecution,
DataSource = DataSource,
Index = Index,
Length = Length,
LogicalName = LogicalName,
MaxDOP = MaxDOP,
Source = (IExecutionPlanNodeInternal)Source.Clone(),
Sql = Sql
};
Expand Down
5 changes: 4 additions & 1 deletion MarkMpn.Sql4Cds.Engine/ExecutionPlan/PrintNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ public object Clone()
return new PrintNode
{
Expression = Expression,
_expression = _expression
_expression = _expression,
Index = Index,
Length = Length,
Sql = Sql
};
}

Expand Down
2 changes: 2 additions & 0 deletions MarkMpn.Sql4Cds.Engine/ExecutionPlan/UpdateNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,12 @@ public override object Clone()
{
var clone = new UpdateNode
{
BypassCustomPluginExecution = BypassCustomPluginExecution,
DataSource = DataSource,
Index = Index,
Length = Length,
LogicalName = LogicalName,
MaxDOP = MaxDOP,
PrimaryIdSource = PrimaryIdSource,
Source = (IExecutionPlanNodeInternal)Source.Clone(),
Sql = Sql
Expand Down

0 comments on commit 860bd40

Please sign in to comment.