Skip to content

Commit 79c7544

Browse files
author
James Cor
committed
debug and estiamtes too
1 parent 1db76cb commit 79c7544

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/planbuilder/explain.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ func (b *Builder) buildExplain(inScope *scope, n *sqlparser.Explain) (outScope *
4040
case sqlparser.TreeStr:
4141
describeOptions.Plan = true
4242
case "debug":
43+
describeOptions.Plan = true
4344
describeOptions.Debug = true
4445
case "estimates":
46+
describeOptions.Plan = true
4547
describeOptions.Estimates = true
4648
default:
4749
err := errInvalidDescribeFormat.New(n.ExplainFormat, "tree")

0 commit comments

Comments
 (0)