Skip to content

Commit

Permalink
Merge pull request #211 from MarkMpn/string-lengths
Browse files Browse the repository at this point in the history
Bypass plugins & Max DOP fixes
  • Loading branch information
MarkMpn authored May 26, 2022
2 parents eed235c + af0e8a8 commit 2aa2b76
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
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
8 changes: 1 addition & 7 deletions MarkMpn.Sql4Cds.Engine/MarkMpn.Sql4Cds.Engine.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@
<iconUrl>https://markcarrington.dev/sql4cds-icon/</iconUrl>
<description>Convert SQL queries to FetchXml and execute them against Dataverse / D365</description>
<summary>Convert SQL queries to FetchXml and execute them against Dataverse / D365</summary>
<releaseNotes>Fixed use of aggregates in SET statement
Fixed cost display in execution plan for SELECT queries
Metadata filter case sensitivity fix
Improved null literal handling
Implemented WAITFOR statement
Fixed use of bulk delete with parameterized queries
Fixed error querying tables with lookup columns with no targets</releaseNotes>
<releaseNotes>Fixed bypassing plugins and parallelism on UPDATE/INSERT/DELETE</releaseNotes>
<copyright>Copyright © 2020 Mark Carrington</copyright>
<language>en-GB</language>
<tags>SQL CDS</tags>
Expand Down
8 changes: 1 addition & 7 deletions MarkMpn.Sql4Cds/MarkMpn.SQL4CDS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@ plugins or integrations by writing familiar SQL and converting it.

Using the preview TDS Endpoint, SELECT queries can also be run that aren't convertible to FetchXML.</description>
<summary>Convert SQL queries to FetchXML and execute them against Dataverse / D365</summary>
<releaseNotes>Fixed use of aggregates in SET statement
Fixed cost display in execution plan for SELECT queries
Metadata filter case sensitivity fix
Improved null literal handling
Implemented WAITFOR statement
Fixed use of bulk delete with parameterized queries
Fixed error querying tables with lookup columns with no targets</releaseNotes>
<releaseNotes>Fixed bypassing plugins and parallelism on UPDATE/INSERT/DELETE</releaseNotes>
<copyright>Copyright © 2019 Mark Carrington</copyright>
<language>en-GB</language>
<tags>XrmToolBox SQL CDS</tags>
Expand Down

0 comments on commit 2aa2b76

Please sign in to comment.