dbi plugin: Put the row handling logic in an extra module.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 2 Feb 2009 17:40:11 +0000 (18:40 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 2 Feb 2009 17:40:11 +0000 (18:40 +0100)
commita3bc3e9a560b8e1da1be9fa040116226cf6798ab
tree7f2345815aefbf3cac0b086bf6e325e1cb1682fd
parentf25e41d212334682fce74da0824ac55038cab8f2
dbi plugin: Put the row handling logic in an extra module.

The `utils_db_query' module now handles config parsing and row handling.
This unifies basically all of the <Query> blocks, so that the `dbi' and
`oracle' plugins behave exactly alike. Porting the `postgresql' plugin
should be possible, too, so that all three database plugins are in line.
src/Makefile.am
src/collectd.conf.in
src/collectd.conf.pod
src/dbi.c
src/utils_db_query.c [new file with mode: 0644]
src/utils_db_query.h [new file with mode: 0644]