X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fmysql%2Fmysql-loader.cl;h=a241d2d465874a043b0b594c2989ad8dd5b7946e;hb=cdd84f18473361ae5220666bbe0526fa565bc060;hp=a0afeb5e91db00df9d074426488a75c9ce45e308;hpb=f5b810d17ae9c5898222b179869912f9736b97b2;p=clsql.git diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index a0afeb5..a241d2d 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.12 2002/05/14 16:19:11 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.17 2002/05/18 17:37:48 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -28,10 +28,12 @@ (defvar *clsql-mysql-library-filename* (uffi:find-foreign-library "clsql-mysql" - `(,(translate-logical-pathname - "CL-LIBRARY:clsql;interfaces;mysql;") - "/usr/share/common-lisp/source/clsql/interfaces/mysql/"))) - + `(,(directory-namestring + (translate-logical-pathname + "CL-LIBRARY:clsql;interfaces;mysql;")) + "/usr/share/common-lisp/source/clsql/interfaces/mysql/") + :drive-letters '("C" "D" "E" "F" "G"))) + (defvar *mysql-library-filename* (cond ((probe-file "/opt/mysql/lib/mysql/libmysqlclient.so") @@ -91,7 +93,4 @@ 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*)) +