Skip to content

Commit

Permalink
fix sql for log.logs stable
Browse files Browse the repository at this point in the history
  • Loading branch information
laiyongtao committed May 8, 2024
1 parent 7228cd5 commit 3ccc57c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion process/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,11 @@ func (p *Processor) Prepare() {

func (p *Processor) withDBName(tableName string) string {
b := pool.BytesPoolGet()
b.WriteByte('`')
b.WriteString(p.db)
b.WriteByte('.')
b.WriteString("`.`")
b.WriteString(tableName)
b.WriteByte('`')
return b.String()
}

Expand Down

0 comments on commit 3ccc57c

Please sign in to comment.