@@ -417,13 +417,13 @@ func parsePostgreSQLNode(data map[string]interface{}) *PlanNode {
417417// sqlServerXMLPlan is the top-level XML structure for SQL Server execution plans.
418418// SQL Server EXPLAIN FOR XML produces a ShowPlanXML document.
419419type sqlServerXMLPlan struct {
420- XMLName xml.Name `xml:"ShowPlanXML"`
421- Statements []sqlServerXMLStmt `xml:"BatchSequence>Batch>Statements>StmtSimple"`
420+ XMLName xml.Name `xml:"ShowPlanXML"`
421+ Statements []sqlServerXMLStmt `xml:"BatchSequence>Batch>Statements>StmtSimple"`
422422}
423423
424424type sqlServerXMLStmt struct {
425- StatementCost float64 `xml:"StatementSubTreeCost,attr"`
426- StatementRows float64 `xml:"StatementEstRows,attr"`
425+ StatementCost float64 `xml:"StatementSubTreeCost,attr"`
426+ StatementRows float64 `xml:"StatementEstRows,attr"`
427427 QueryPlan sqlServerQueryPlan `xml:"QueryPlan"`
428428}
429429
@@ -432,13 +432,13 @@ type sqlServerQueryPlan struct {
432432}
433433
434434type sqlServerRelOp struct {
435- Operation string `xml:"PhysicalOp,attr"`
436- LogicalOp string `xml:"LogicalOp,attr"`
437- EstimatedRows float64 `xml:"EstimateRows,attr"`
438- EstimatedCost float64 `xml:"EstimatedTotalSubtreeCost,attr"`
439- Children []sqlServerRelOp `xml:"RelOp"`
440- IndexScan * sqlServerIndex `xml:"IndexScan"`
441- NestedLoops * sqlServerNested `xml:"NestedLoops"`
435+ Operation string `xml:"PhysicalOp,attr"`
436+ LogicalOp string `xml:"LogicalOp,attr"`
437+ EstimatedRows float64 `xml:"EstimateRows,attr"`
438+ EstimatedCost float64 `xml:"EstimatedTotalSubtreeCost,attr"`
439+ Children []sqlServerRelOp `xml:"RelOp"`
440+ IndexScan * sqlServerIndex `xml:"IndexScan"`
441+ NestedLoops * sqlServerNested `xml:"NestedLoops"`
442442}
443443
444444type sqlServerIndex struct {
0 commit comments