X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fmysql%2Fmysql-loader.cl;h=75dd094e59f7a5b2cd21a294c2a3459174c9b42b;hb=9f3761f57371f7d347e25d635735dcbf536e652c;hp=45f796c675192e0b717d460d10d0d117ff5949d4;hpb=12061f45454ea5fc2cef4213ccecd99d88fd1b46;p=clsql.git diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index 45f796c..75dd094 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.16 2002/05/17 17:09:55 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.18 2002/05/27 17:19:30 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -29,11 +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/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") @@ -65,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* @@ -92,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)