Required driver capabilities

Database Independent Abstraction Layer for C: libdbi Driver Author's Guide
Prev | Chapter 2. Driver Capabilities | Next

# 2.2. Required driver capabilities

libdbi currently queries only one driver capability.

safe_dlclose

  A nonzero value indicates that the driver can safely be unloaded from memory by calling dlclose(). A value of 0 (zero) indicates that the driver should not be unloaded when libdbi is shut down. Drivers must not be unloaded if they, or any library they are linked against, install exit handlers via atexit() as this would leave dangling pointers, causing segfaults on some platforms.

Prev | Home | Next
Setting driver capabilities | Up | Driver Functions