|
|
Ns_DbHandle Ns_DbDup(
Ns_DbHandle *old
);
The Ns_DbDup function duplicates the database handle specified by 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.