]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Fix bounds in rrd_xport
authorÓscar Nájera <on@mathias-kettner.de>
Mon, 18 Mar 2019 15:22:31 +0000 (16:22 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 19 Mar 2019 22:55:51 +0000 (23:55 +0100)
commitbdf2105ddf4a87fb5dde9f4368e22175e3897f0c
tree620083814e2e9486b293779560d5558eef4246f5
parentc3cc0953638db0e871c0ade5b70a206262300f7c
Fix bounds in rrd_xport

rrdxport needs to provide enough data points in its output for the
receiving client to be able to reproduce the graphs generated by rrdgraph.

- The start time pointer needs to be at the start of the interval that
  contain the query start time. For the function that retrieves the data.
  On output the returned start timestamp is > than query timestamp.
- SV export was missing the end boundary
src/rrd_xport.c