Skip to content

Commit

Permalink
Fix #62 - Wrong description for ColumnsWithNoStatistics warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinPealing committed Feb 1, 2018
1 parent 6bc9abf commit 9a53335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qp.xslt
Expand Up @@ -518,7 +518,7 @@
<div>Operator used tempdb to spill data during execution with spill level <xsl:value-of select="@SpillLevel" /> and <xsl:value-of select="@SpilledThreadCount" /> spilled thread(s)</div>
</xsl:for-each>
<xsl:for-each select="s:Warnings/s:ColumnsWithNoStatistics/s:ColumnReference">
<div>Unmatched index: <xsl:apply-templates select="." mode="ObjectNameNoAlias" /></div>
<div>Columns With No Statistics: <xsl:apply-templates select="." mode="ObjectNameNoAlias" /></div>
</xsl:for-each>
<xsl:for-each select="s:Warnings/s:Wait">
<div>The query had to wait <xsl:value-of select="@WaitTime" /> seconds for <xsl:value-of select="@WaitType" /> during execution.</div>
Expand Down
2 changes: 1 addition & 1 deletion test/tooltip_warning_test.ts
Expand Up @@ -36,7 +36,7 @@ describe("Tooltip Warnings Section", () => {

let container = helper.showPlan(plan.columns_with_no_statistics);
let indexScan = helper.findNodeById(container, "2");
assert.equal("Unmatched index: [mydb].[myschema].[TestTableA].TestTableB_Id",
assert.equal("Columns With No Statistics: [mydb].[myschema].[TestTableA].TestTableB_Id",
helper.getToolTipSection(indexScan, "Warnings"));

})
Expand Down

0 comments on commit 9a53335

Please sign in to comment.