Changeset 1084
- Timestamp:
- 08/16/07 23:39:35 (3 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/backends/gsql/gsqlbackend.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/backends/gsql/gsqlbackend.cc
r1018 r1084 17 17 #include "pdns/logger.hh" 18 18 #include "pdns/arguments.hh" 19 19 #include <boost/algorithm/string.hpp> 20 20 #include <sstream> 21 using namespace boost; 21 22 22 23 void GSQLBackend::setNotified(uint32_t domain_id, uint32_t serial) … … 94 95 95 96 string type=d_result[0][5]; 96 if( type=="SLAVE") {97 if(iequals(type,"SLAVE")) { 97 98 di.serial=0; 98 99 try { … … 109 110 di.kind=DomainInfo::Slave; 110 111 } 111 else if( type=="MASTER")112 else if(iequals(type,"MASTER")) 112 113 di.kind=DomainInfo::Slave; 113 114 else