X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-mysql%2Fmysql-loader.lisp;h=cdf28cd4f907725d54a18a2fc5b3e918a61cfbbf;hp=1c27ad3c603d0526e4af6150b695648ee78ac70f;hb=d2d49ab13c98bc7a1819a0fd3968268a5567bdc3;hpb=e44d25095946bbc8b5d175a09dc2e611eee319e7 diff --git a/db-mysql/mysql-loader.lisp b/db-mysql/mysql-loader.lisp index 1c27ad3..cdf28cd 100644 --- a/db-mysql/mysql-loader.lisp +++ b/db-mysql/mysql-loader.lisp @@ -7,8 +7,6 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Created: Feb 2002 ;;;; -;;;; $Id$ -;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg ;;;; ;;;; CLSQL users are granted the rights to distribute and use this software @@ -38,11 +36,12 @@ set to the right path before compiling or loading the system.") *mysql-library-loaded*) (defmethod clsql-sys:database-type-load-foreign ((database-type (eql :mysql))) - (clsql:push-library-path - (make-pathname :directory clsql-mysql-system::*library-file-dir*)) + (clsql:push-library-path clsql-mysql-system::*library-file-dir*) + (clsql-uffi:find-and-load-foreign-library *mysql-library-candidate-names* :module "mysql" :supporting-libraries *mysql-supporting-libraries*) + (clsql-uffi:find-and-load-foreign-library *clsql-mysql-library-candidate-names* :module "clsql-mysql" :supporting-libraries *mysql-supporting-libraries*)