summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5659331)
raw | patch | inline | side by side (parent: 5659331)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 3 Mar 2011 06:53:05 +0000 (06:53 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 3 Mar 2011 06:53:05 +0000 (06:53 +0000) |
program/src/rrd_fetch.c | patch | blob | history |
index 6745680901491f26aeb987d68605131aad8c3604..bbb5314f3f87182a96b6f0c732bebff2c3211f12 100644 (file)
--- a/program/src/rrd_fetch.c
+++ b/program/src/rrd_fetch.c
#ifdef HAVE_LIBDBI
/* handle libdbi datasources */
- if (strncmp("sql",filename,3)==0) {
- if (filename[3]==filename[4]) {
+ if (strncmp("sql//",filename,5)==0) {
return rrd_fetch_fn_libdbi(filename,cf_idx,start,end,step,ds_cnt,ds_namv,data);
- }
}
#endif