Skip to content

Commit

Permalink
addressed review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Harshit Gangal <[email protected]>
  • Loading branch information
harshit-gangal committed Apr 1, 2021
1 parent ca705e6 commit b720ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (e *Executor) Execute(ctx context.Context, method string, safeSession *Safe
warnings.Add("ResultsExceeded", 1)
piiSafeSQL, err := sqlparser.RedactSQLQuery(sql)
if err != nil {
piiSafeSQL = sqlparser.Preview(sql).String()
piiSafeSQL = logStats.StmtType
}
log.Warningf("%q exceeds warning threshold of max memory rows: %v", piiSafeSQL, *warnMemoryRows)
}
Expand Down

0 comments on commit b720ad0

Please sign in to comment.