X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fmysql%2Fmysql-loader.cl;h=7434670da5a235391e45b2e3d2ed5506c7710bfe;hb=a4c3ffc118afeed0a5885d84b20d7e000eebcb06;hp=0ff1ad28c7d23c02ba6a464966d363f0007d1217;hpb=0fe44ce81f47c779d9695c9211668b4780bf4216;p=clsql.git diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index 0ff1ad2..7434670 100644 --- a/interfaces/mysql/mysql-loader.cl +++ b/interfaces/mysql/mysql-loader.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: mysql-loader.cl,v 1.6 2002/04/23 18:28:02 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.8 2002/05/13 22:05:21 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -27,8 +27,8 @@ (defvar *clsql-mysql-library-filename* (translate-logical-pathname - #+(or linux unix) "CLSQL:interfaces;mysql;clsql-mysql.so" - #+(or mswindows win32) "CLSQL:interfaces;mysql;clsql-mysql.dll" + #+(or linux unix) "CL-LIBRARY:clsql;interfaces;mysql;clsql-mysql.so" + #+(or mswindows win32) "CL-LIBRARY:clsql;interfaces;mysql;clsql-mysql.dll" )) (defvar *mysql-library-filename* @@ -89,5 +89,7 @@ set to the right path before compiling or loading the system.") (clsql-sys:database-type-load-foreign :mysql) - - +(when (clsql-sys:database-type-library-loaded :mysql) + (clsql-sys:initialize-database-type :database-type :mysql) + (setq clsql:*default-database-type* :mysql) + (pushnew :mysql cl:*features*))