X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Finitialize.lisp;h=cc827bb9661677c31726ec126a957b2b18523210;hp=f678d3f45524ac0207c92a87b1614157a32c7541;hb=HEAD;hpb=4c89485f5cdb21a334de9c35adfded30db0c75e7 diff --git a/sql/initialize.lisp b/sql/initialize.lisp index f678d3f..cc827bb 100644 --- a/sql/initialize.lisp +++ b/sql/initialize.lisp @@ -3,13 +3,11 @@ ;;;; FILE IDENTIFICATION ;;;; ;;;; Name: initialize.lisp -;;;; Purpose: Initializion routines for backend -;;;; Programmers: Kevin M. Rosenberg +;;;; Purpose: Initializion routines for db backend +;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: May 2002 ;;;; -;;;; $Id$ -;;;; -;;;; This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg +;;;; This file, part of CLSQL, is Copyright (c) 2002-2010 by Kevin M. Rosenberg ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai ;;;; ;;;; CLSQL users are granted the rights to distribute and use this software @@ -49,13 +47,13 @@ DATABASE-TYPE and, if DATABASE-TYPE has not been initialised, it is added to *INITIALIZED-DATABASE-TYPES*. " (when (member database-type *initialized-database-types*) (return-from initialize-database-type database-type)) - - (let ((system (intern (concatenate 'string - (symbol-name '#:clsql-) - (symbol-name database-type))))) + + (let ((system (intern (concatenate 'string + (symbol-name '#:clsql-) + (symbol-name database-type))))) (when (not (find-package system)) (asdf:operate 'asdf:load-op system))) - + (when (database-initialize-database-type database-type) (push database-type *initialized-database-types*) (setf *default-database-type* database-type)