]> granicus.if.org Git - pdns/commitdiff
Merge pull request #2591 from cmouse/notify-tsig
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 22 Jan 2016 14:54:29 +0000 (15:54 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 22 Jan 2016 14:54:29 +0000 (15:54 +0100)
Sign NOTIFY with TSIG

1  2 
pdns/backends/gsql/gsqlbackend.cc

index f3eaa42a84fbda1dbdd7365a54bb18eb49e07a77,f2130079cf86c5f6ec88f37e6106e042c9829e4e..8aee00536bdbecd6a409759cc1a832b694918663
@@@ -1100,10 -1100,10 +1100,10 @@@ bool GSQLBackend::superMasterBackend(co
          reset();
      }
      catch (SSqlException &e) {
 -      throw PDNSException("GSQLBackend unable to search for a domain: "+e.txtReason());
 +      throw DBException("GSQLBackend unable to search for a domain: "+e.txtReason());
      }
-     ASSERT_ROW_COLUMNS("supermaster-query", d_result[0], 1);
      if(!d_result.empty()) {
+       ASSERT_ROW_COLUMNS("supermaster-query", d_result[0], 1);
        *nameserver=i->content;
        *account=d_result[0][0];
        *ddb=this;