Skip to content

Commit

Permalink
fix: (outputs/sql) table existence cache (#10812)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruoshan committed Jun 1, 2022
1 parent 91d50ee commit 354b651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/sql/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ func (p *SQL) Write(metrics []telegraf.Metric) error {
if err != nil {
return err
}
p.tables[tablename] = true
}
p.tables[tablename] = true

var columns []string
var values []interface{}
Expand Down

0 comments on commit 354b651

Please sign in to comment.