Next Previous Up Top Contents Index

14.2 Initialization

14.2.4 Database libraries

A database directory environment variable specifies the root of the database directories. This variable is checked in LispWorks when you initialize a database type, and the libraries loaded are dependent on its value. The list of library modules is added tofli:*default-libraries* and fli:read-foreign-modules is called to do the loading. If you need to load a different set of library modules, add your list of library modules toffi:*default-libraries* before loading. The details of foreign code loading are described in the LispWorks Foreign Language Interface User Guide and Reference Manual.

Note that most users only need to set the appropriate environment variable (see the Release Notes) for their specific database vendor.

In order to override the default loading of database library code, you may set*sql-libraries*. If it is a pathname, it is prepended to a list of relative pathnames in the same manner that the supplied environment variable (for exampleORACLE_HOME) would be. If*sql-libraries* is a list, then it is assumed to be a complete list of full library names which are loaded verbatim.

*sql-libraries*

Variable

Holds a pathname or list of libraries to override default database library loading. Default value isnil.
*sql-loading-verbose*

Variable

Default valuenil. Controls verbosity of messages while loading the database libraries.
*sql-enlarge-static*

Variable

Default value100000. The amount to enlarge static memory by before loading database code. This is an optimization of static memory fragmentation.

LispWorks User Guide - 14 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker