[Pdns-dev] KeyData id member initialization

bert hubert bert.hubert at netherlabs.nl
Tue Oct 9 20:31:12 CEST 2012


On Tue, Oct 09, 2012 at 11:27:08AM -0700, Zane Thomas wrote:
> I've searched but for some reason I cannot discover where KeyData.id is
> initialized when adding a key.

Hi Zane, 

It is 'set' when reading from the database. See
backends/gsql/gsqlbackend.cc.

The database picks an ID for us.

	Bert
-- 
PowerDNS Website: http://www.powerdns.com/
PowerDNS Community Website: http://wiki.powerdns.com/
PowerDNS is supported and developed by Netherlabs: http://www.netherlabs.nl


More information about the Pdns-dev mailing list