Code

store: Fixed handling of metric store values.
authorSebastian Harl <sh@tokkee.org>
Thu, 14 May 2015 22:41:12 +0000 (00:41 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 14 May 2015 22:41:12 +0000 (00:41 +0200)
commite39a0c24a894f9e04cbf7698429dc23293c7ced9
tree431f255ec75aeeb016f1b716534b086b23056e42
parent2a5aff78eb32778a27b707aa99a2494b1371a5dd
store: Fixed handling of metric store values.

 - Call sdb_plugin_store_metric() even if store=NULL (don't return early).
 - Don't drop old values if strdup failed when storing store type/id.
 - Fixed a segfault in sdb_plugin_store_metric() when using store=NULL.
src/core/plugin.c
src/core/store.c