Skip to content

Commit

Permalink
fix: (outputs/sql) table existence cache (influxdata#10812)
Browse files Browse the repository at this point in the history
(cherry picked from commit 354b651)
  • Loading branch information
ruoshan authored and Sebastian Spaink committed Jun 2, 2022
1 parent acf6706 commit 15b458d
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 @@ -251,8 +251,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 15b458d

Please sign in to comment.