fix: (outputs/sql) table existence cache (#10812)
This commit is contained in:
parent
91d50ee374
commit
354b651bd9
|
|
@ -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{}
|
||||
|
|
|
|||
Loading…
Reference in New Issue