Skip to content

Commit a166fb1

Browse files
committed
add constant
1 parent 151336c commit a166fb1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ast/misc.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,12 @@ const (
6363
RepeatableRead = "REPEATABLE-READ"
6464

6565
// Valid formats for explain statement.
66-
ExplainFormatROW = "row"
67-
ExplainFormatDOT = "dot"
68-
ExplainFormatHint = "hint"
69-
PumpType = "PUMP"
70-
DrainerType = "DRAINER"
66+
ExplainFormatROW = "row"
67+
ExplainFormatDOT = "dot"
68+
ExplainFormatHint = "hint"
69+
ExplainFormatTrace = "opt_trace"
70+
PumpType = "PUMP"
71+
DrainerType = "DRAINER"
7172
)
7273

7374
// Transaction mode constants.
@@ -82,6 +83,7 @@ var (
8283
ExplainFormatROW,
8384
ExplainFormatDOT,
8485
ExplainFormatHint,
86+
ExplainFormatTrace,
8587
}
8688
)
8789

0 commit comments

Comments
 (0)