Skip to content

Commit 39d1825

Browse files
committed
u
Signed-off-by: Weizhen Wang <[email protected]>
1 parent dbd5dd7 commit 39d1825

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/planner/core/optimizer.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,9 @@ func logicalOptimize(ctx context.Context, flag uint64, logic base.LogicalPlan) (
10101010
if planChanged && ok && isLogicalRuleDisabled(interactionRule) {
10111011
againRuleList = append(againRuleList, interactionRule)
10121012
}
1013+
if !logic.SCtx().GetSessionVars().InRestrictedSQL {
1014+
fmt.Println("fuck")
1015+
}
10131016
}
10141017

10151018
// Trigger the interaction rule

0 commit comments

Comments
 (0)