X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fmysql%2Fmysql-loader.cl;h=c421fc25e0cc45f26f6ed7f6e13b6899a890553a;hb=98eff0a90b337209cc23e955fdc38e33589c4d8a;hp=3c505cb9ab878696b7cb38a099e5b3c3d46629e8;hpb=7faa1ee1482c0478c9d2802c3de7bf229d55b1b8;p=clsql.git diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index 3c505cb..c421fc2 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.14 2002/05/15 18:05:51 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.19 2002/07/08 17:37:18 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -29,10 +29,11 @@ (uffi:find-foreign-library "clsql-mysql" `(,(directory-namestring - ((translate-logical-pathname - "CL-LIBRARY:clsql;interfaces;mysql;")) - "/usr/share/common-lisp/source/clsql/interfaces/mysql/"))) - + (translate-logical-pathname + "CL-LIBRARY:clsql;interfaces;mysql;")) + "/usr/lib/cl-sql/") + :drive-letters '("C" "D" "E" "F" "G"))) + (defvar *mysql-library-filename* (cond ((probe-file "/opt/mysql/lib/mysql/libmysqlclient.so") @@ -64,10 +65,10 @@ set to the right path before compiling or loading the system.") (defvar *mysql-library-loaded* nil "T if foreign library was able to be loaded successfully") -(defmethod clsql-sys:database-type-library-loaded ((database-type (eql :mysql))) +(defmethod clsql-base-sys:database-type-library-loaded ((database-type (eql :mysql))) *mysql-library-loaded*) -(defmethod clsql-sys:database-type-load-foreign ((database-type (eql :mysql))) +(defmethod clsql-base-sys:database-type-load-foreign ((database-type (eql :mysql))) (let ((mysql-path (uffi:find-foreign-library *mysql-library-candidate-names* *mysql-library-candidate-directories* @@ -91,5 +92,5 @@ set to the right path before compiling or loading the system.") mysql-path *clsql-mysql-library-filename*)))) -(clsql-sys:database-type-load-foreign :mysql) +(clsql-base-sys:database-type-load-foreign :mysql)