mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-31 15:06:26 +00:00
wip
This commit is contained in:
parent
48ed6abe75
commit
0519b1a714
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ func getEmptyStrings(rowsCount int) []string {
|
||||||
if n := rowsCount - cap(values); n > 0 {
|
if n := rowsCount - cap(values); n > 0 {
|
||||||
valuesNew := append(values[:cap(values)], make([]string, n)...)
|
valuesNew := append(values[:cap(values)], make([]string, n)...)
|
||||||
emptyStrings.Store(&valuesNew)
|
emptyStrings.Store(&valuesNew)
|
||||||
|
values = valuesNew
|
||||||
}
|
}
|
||||||
return values[:rowsCount]
|
return values[:rowsCount]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue