Skip to content

Commit ae0b575

Browse files
committed
fix: lint
1 parent fbe3def commit ae0b575

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pkg/plan/analyzer.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
419419
type 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

424424
type 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

434434
type 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

444444
type sqlServerIndex struct {

0 commit comments

Comments
 (0)