|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesrrd_lastupdate_use_ds_name_as_index (last revision 2012-03-07 10:04 UTC by david at nfrance dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-04 09:10 UTC] koubel@php.net
[2012-06-04 09:10 UTC] koubel@php.net
-Status: Open
+Status: Assigned
-Type: Feature/Change Request
+Type: Bug
[2012-06-04 09:11 UTC] koubel@php.net
-Assigned To:
+Assigned To: koubel
[2012-06-04 09:18 UTC] koubel@php.net
[2012-06-04 09:52 UTC] koubel@php.net
[2012-06-04 09:52 UTC] koubel@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
Description: ------------ When using rrd_lastupdate on a rrd file with multiples values, the data array only contain one value, but the ds_navm array contain multiples values. The data array shouldn't use timestamp as key in rrd_lastupdate, but the ds_name (or ds_index), to support multiple values. Test script: --------------- $values = rrd_lastupdate("my_multiples_values_rrd_file");; print_r($values); Expected result: ---------------- The data array should contain values for each ds. Actual result: -------------- The data array contain only one value and the index is the timestamp.