]> granicus.if.org Git - pdns/commitdiff
gsql: Remove stripDot where not needed
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Sun, 21 Feb 2016 22:14:32 +0000 (23:14 +0100)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Sun, 21 Feb 2016 22:15:59 +0000 (23:15 +0100)
pdns/backends/gsql/gsqlbackend.cc

index 8aee00536bdbecd6a409759cc1a832b694918663..c41670ce50fae829924895f0b166b24d325d23da 100644 (file)
@@ -1316,7 +1316,7 @@ bool GSQLBackend::feedRecord(const DNSResourceRecord &r, string *ordername)
         bind("qtype",r.qtype.getName())->
         bind("domain_id",r.domain_id)->
         bind("disabled",r.disabled)->
-        bind("qname",stripDot(r.qname.toString())); // FIXME400 lowercase?
+        bind("qname",r.qname); // FIXME400 lowercase?
         if (ordername == NULL)
           d_InsertRecordOrderQuery_stmt->bindNull("ordername");
         else 
@@ -1335,7 +1335,7 @@ bool GSQLBackend::feedRecord(const DNSResourceRecord &r, string *ordername)
         bind("qtype",r.qtype.getName())-> 
         bind("domain_id",r.domain_id)->
         bind("disabled",r.disabled)->
-        bind("qname",stripDot(r.qname.toString()))->
+        bind("qname",r.qname)->
         bind("auth", (r.auth || !d_dnssecQueries))->
         execute()->
         reset();