![]() |
![]() ![]() ![]() ![]() |
Ns_DbHandle Ns_DbDup( Ns_DbHandle *old );
old
by calling Ns_DbOpenDb with elements from old
.Ns_DbDup results in creating a new connection to the database, which can be an expensive operation. You should allocate existing handles from the database pool with Ns_DbGetHandle instead.