From: bert hubert Date: Sun, 4 Sep 2016 19:03:38 +0000 (+0200) Subject: fix up zone2sql compilation after fixups X-Git-Tag: dnsdist-1.1.0-beta2~123^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f660cfe7a21b001f853b7ba5a18444f957cc2d0;p=thirdparty%2Fpdns.git fix up zone2sql compilation after fixups --- diff --git a/pdns/zone2sql.cc b/pdns/zone2sql.cc index 5fb36047cb..3086184d20 100644 --- a/pdns/zone2sql.cc +++ b/pdns/zone2sql.cc @@ -202,7 +202,7 @@ static void emitRecord(const DNSName& zoneName, const DNSName &DNSqname, const s else if(g_mode==POSTGRES) { cout<<"insert into records (domain_id, name, ordername, auth, type,content,ttl,prio,disabled) select id ,"<< sqlstr(toLower(qname))<<", "<< - sqlstr(DNSName(qname).makeRelative(DNSName(zname)).toLower().labelReverse().toStringNoDot()<<", '"<< (auth ? 't' : 'f') <<"', "<< + sqlstr(DNSName(qname).makeRelative(DNSName(zname)).makeLowerCase().labelReverse().toStringNoDot())<<", '"<< (auth ? 't' : 'f') <<"', "<< sqlstr(qtype)<<", "<< sqlstr(stripDotContent(content))<<", "<