]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/backends/gsql/gsqlbackend.hh
Fix gsql query-logging not always working
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 3 Feb 2014 20:46:17 +0000 (21:46 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 3 Feb 2014 21:21:26 +0000 (22:21 +0100)
commiteb743bba09b28857c7372a2bcba3d4acc1e2de04
tree4ee8e32342c2bd67673c0c8e1f1880064e9d0554
parentc69120f251ee49e9df98beb49393c2b7fbd27917
Fix gsql query-logging not always working

query-logging would only be taken into account after the first direct
(DNS) query; getAllDomains and other calls before the first query would
not get the logging. Problematic when the backend instances are
short-lived.
pdns/backends/gsql/gsqlbackend.cc
pdns/backends/gsql/gsqlbackend.hh