summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 283e73d)
raw | patch | inline | side by side (parent: 283e73d)
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) |
src/rrd_fetch.c | patch | blob | history |
diff --git a/src/rrd_fetch.c b/src/rrd_fetch.c
index 6745680901491f26aeb987d68605131aad8c3604..bbb5314f3f87182a96b6f0c732bebff2c3211f12 100644 (file)
--- a/src/rrd_fetch.c
+++ b/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