Skip to content

Commit

Permalink
fix some bug
Browse files Browse the repository at this point in the history
Signed-off-by: jyz0309 <45495947@qq.com>
  • Loading branch information
jyz0309 committed Jan 1, 2022
1 parent 1bef672 commit 901e5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -2878,8 +2878,8 @@ func logGeneralQuery(execStmt *executor.ExecStmt, s *session, isPrepared bool) {
builder.WriteString(vars.CurrentDB)
text := executor.QueryReplacer.Replace(sql)
builder.WriteString(text)
builder.WriteString(" ")
if vars.PreparedParams != nil {
builder.WriteString(" ")
builder.WriteString(vars.PreparedParams.String())
}
builder.WriteString("\n")
Expand Down

0 comments on commit 901e5ca

Please sign in to comment.