Name

CLSQL-EXISTS-CONDITION — condition indicating situations arising because of existing connections

Condition Type

Class Precedence List

clsql-exists-condition, clsql-condition, condition, t

Description

This condition is the super-type of all conditions which represents problems that occur during calls to connect, if a connection to the database exists already. Depending on the value of if-exists to the call of connect, either a warning, an error or no condition at all is signalled. If a warning or error is signalled, either clsql-exists-warning or clsql-exists-error is signalled, which are subtypes of clsql-exists-condition and clsql-warning or clsql-error. clsql-exists-condition is never signalled itself.

The following initialization arguments and accessors exist:

Initarg: :old-db

Accessor: clsql-exists-condition-old-db

Description: The database object that represents the existing connection. This slot is always filled.

Initarg: :new-db

Accessor: clsql-exists-condition-new-db

Description: The database object that will be used and returned by this call to connect, if execution continues normally. This can be either nil, indicating that a new database object is to be created on continuation, or a database object representing the newly created continuation, or the same database object as old-db, indicating that the existing database object will be reused. This slot is always filled and defaults to nil.