Programming Guide |
Disables support for a named database engine
#include <dmuproto.h>int dm_reset(char *engine);
engine
- The name assigned to the DBMS in
dm_init
or in thevendor_list
structure ofdbiinit.c
.
C only
- 0 The database engine was successfully disabled.
An application can call this function to disable support for a named engine. If the function executes successfully, it performs the following steps:
- Closes all active connections on the engine.
- Calls the support function to perform any engine-specific reset processing.
- If
engine
was the default engine, sets the default engine to 0.- Frees all data structures associated with the engine.
After an engine is reset, the application cannot connect to the engine unless it initializes the engine with dm_init.