Product Documentation

FairCom ODBC

Previous Topic

Next Topic

Thread Safety of FairCom DB ODBC Driver

By default, the FairCom DB ODBC Driver is thread-safe. However, this may not always be desired as it involves overhead on the performance of the system. Single threaded ODBC applications do not require thread safety as only one thread is involved.

To disable the thread safety feature, the following runtime flag is used:

DH_DISABLE_ODBC_THREAD_SAFETY

This flag must be set in dhsql.ini for FairCom DB SQL on Windows NT. In Unix, it will be an environment variable in the setup file.

By default, the thread safety feature is enabled. To disable this feature, set:

DH_DISABLE_ODBC_THREAD_SAFETY = Y

TOCIndex