| author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
| Mon, 2 Feb 2009 17:40:11 +0000 (18:40 +0100) | ||
| committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
| Mon, 2 Feb 2009 17:40:11 +0000 (18:40 +0100) | ||
| commit | a3bc3e9a560b8e1da1be9fa040116226cf6798ab | |
| tree | 7f2345815aefbf3cac0b086bf6e325e1cb1682fd | tree | snapshot |
| parent | f25e41d212334682fce74da0824ac55038cab8f2 | commit | diff |
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.
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 | diff | blob | history | |
| src/collectd.conf.in | diff | blob | history | |
| src/collectd.conf.pod | diff | blob | history | |
| src/dbi.c | diff | blob | history | |
| src/utils_db_query.c | [new file with mode: 0644] | blob |
| src/utils_db_query.h | [new file with mode: 0644] | blob |