Skip to content

Commit

Permalink
Merge pull request #7854 from Habbie/gsql-stou
Browse files Browse the repository at this point in the history
auth gsql getAllDomains: ignore stou errors
  • Loading branch information
Habbie committed May 28, 2019
2 parents 5fb5e6a + 8e4ff1e commit 152ba27
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pdns/backends/gsql/gsqlbackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1325,8 +1325,12 @@ void GSQLBackend::getAllDomains(vector<DomainInfo> *domains, bool include_disabl
SOAData sd;
fillSOAData(row[2], sd);
di.serial = sd.serial;
di.notified_serial = pdns_stou(row[5]);
di.last_check = pdns_stou(row[6]);
try {
di.notified_serial = pdns_stou(row[5]);
di.last_check = pdns_stou(row[6]);
} catch(...) {
continue;
}
di.account = row[7];

di.backend = this;
Expand Down

0 comments on commit 152ba27

Please sign in to comment.