
28 Apr
2006
28 Apr
'06
3:40 a.m.
On Fri, Apr 28, 2006 at 10:22:49AM +0200, Joaqu?n M? L?pez Mu?oz wrote:
pair<negcache_t::iterator, bool> res=replacing_insert(s_negcache,ne);
Works, thank you (again) Joaquin! See http://wiki.powerdns.com/projects/trac/changeset/785
Note that replacing_insert() still cannot guarantee in the general case that insertion will always be succesful (hence its returning a pair<iterator,bool>):
Indeed - but in this case I know there is only one unique index, so I don't check. Thanks! -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services