mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: remove superflouos timeseries copy in union
func
This commit is contained in:
parent
bf9782eaf6
commit
7e7d4d5275
1 changed files with 1 additions and 3 deletions
|
@ -643,9 +643,7 @@ func transformUnion(tfa *transformFuncArg) ([]*timeseries, error) {
|
|||
continue
|
||||
}
|
||||
m[string(bb.B)] = true
|
||||
var dst timeseries
|
||||
dst.CopyFrom(ts)
|
||||
rvs = append(rvs, &dst)
|
||||
rvs = append(rvs, ts)
|
||||
}
|
||||
}
|
||||
bbPool.Put(bb)
|
||||
|
|
Loading…
Reference in a new issue