[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_DbDup

Overview

Duplicate a database handle

Syntax

    Ns_DbHandle Ns_DbDup(
    	Ns_DbHandle *old
    );

Description

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.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.