[Devel] usrloc dlist::register_udomain

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 4 17:22:47 CEST 2007


Hi Henning,

the purpose of that section is to connect to the DB and check the 
version of the table used for the newly registered udomain(). The 
connection is open and closed each time as the function is called by 
other modules from init_module(), so the connection must be closed in 
order to avoid its inheritance at fork.

Regards,
Bogdan


Henning Westerholt wrote:
> Hello all,
>
> i'm working currently towards the abstraction of the database connectivity in 
> usrloc, to use an enhanced db interface for user data storage that were using 
> internally.
>
> The dlist::register_udomain() function test on every new domain the database 
> connectivity with a db init and some queries. Are there any special reasons 
> for these calls in this function? Is it really necessary to do a every time a 
> db init?
>
> Cheers,
>
> Henning
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list