From: Christian Hofstaedtler Date: Sun, 21 Feb 2016 22:14:32 +0000 (+0100) Subject: gsql: Remove stripDot where not needed X-Git-Tag: auth-4.0.0-alpha2~17^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e9da6f066b2db8f8c26080d7c9e28f8312c1502;p=pdns gsql: Remove stripDot where not needed --- diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index 8aee00536..c41670ce5 100644 --- a/pdns/backends/gsql/gsqlbackend.cc +++ b/pdns/backends/gsql/gsqlbackend.cc @@ -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();