X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fmysql%2Fmysql-loader.cl;h=a241d2d465874a043b0b594c2989ad8dd5b7946e;hb=72f0ea8c6db74bd59809a9cd427969e85bfa0a78;hp=85ccff222842d2abcc540009986ac5cabdd0ffdc;hpb=6f1d57f65eae54947f40b751c0e588a6ca7f4254;p=clsql.git diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index 85ccff2..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.11 2002/05/14 16:16:54 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;clsql-uffi;") - "/usr/share/common-lisp/source/clsql/interfaces/clsql-uffi/"))) - + `(,(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*)) +