]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Update rrd_fetch.c 424/head
authorcrossett <crossett@users.noreply.github.com>
Wed, 9 Oct 2013 00:42:03 +0000 (20:42 -0400)
committercrossett <crossett@users.noreply.github.com>
Wed, 9 Oct 2013 00:42:03 +0000 (20:42 -0400)
src/rrd_fetch.c

index 94e88327a17f50b122f9d3326689b2db4e62816b..63e3b125161af4837480af61a643b78e84c1a8af 100644 (file)
@@ -240,7 +240,7 @@ int rrd_fetch_fn(
 
 #ifdef HAVE_LIBDBI
     /* handle libdbi datasources */
-    if (strncmp("sql//",filename,5)==0) {
+    if (strncmp("sql//",filename,5)==0 || strncmp("sql||",filename,5)==0) {
        return rrd_fetch_fn_libdbi(filename,cf_idx,start,end,step,ds_cnt,ds_namv,data);
     }
 #endif