oetiker / rrdtool-1.x

RRDtool 1.x - Round Robin Database
http://www.rrdtool.org
GNU General Public License v2.0
1.01k stars 263 forks source link

libdbi: No possibility to escape / #634

Open cato- opened 9 years ago

cato- commented 9 years ago

I need to use a WHERE clause similar to path='/some/path.ext' with libdbi. This does not work as all slashes are replaced with AND , so the resulting query will contain path=' AND some AND path.ext' which does not match any line The documentations mentions no possibility to escape slashes and by looking at the code I didn't find a possibility either.

oetiker commented 9 years ago

have you considered using the new data callback infrastructure in rrdtool 1.5 ? it is much more versatile.