Code

utils_db_query: Added support for custom plugin intervals.
authorSebastian Harl <sh@tokkee.org>
Tue, 30 Mar 2010 19:55:13 +0000 (21:55 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 30 Mar 2010 19:55:13 +0000 (21:55 +0200)
commit322088003195c6a0054a652f52a1a0683aebd75c
tree3cbc3fdc1f3b52e05d71bede58be0e17ab5d63bc
parentf18c3057ac834fdc62246289659b6a9518a147f3
utils_db_query: Added support for custom plugin intervals.

The interval is specified when calling udb_query_prepare_result(). A value
less than or equal to zero may be used to let udb use the default
(interval_g).

The dbi, oracle, and postgresql plugins have been updated accordingly.
src/dbi.c
src/oracle.c
src/postgresql.c
src/utils_db_query.c
src/utils_db_query.h