r9551: windows updates
[clsql.git] / db-mysql / mysql-loader.lisp
index 6424e7ab56ffa5c80af2bf8951da34decc70bfcf..93437e6a41ec899993f54baac95350aa5fa40967 100644 (file)
 
 (defparameter *libz-library-path* 
   (uffi:find-foreign-library
-   '("libz" "zlib")
+   '("libz" "zlibwapi" "zlib")
    `(,(make-pathname :directory (pathname-directory *load-truename*))
      #+64bit "/usr/lib64/"
       "/usr/lib/"
       "/sw/lib/"
       "/usr/local/lib/"
        "/home/kevin/debian/src/clsql/db-mysql/"
+     "/bin/"
        "/mysql/lib/dll32/"
        "/mysql/lib/opt/")
    :drive-letters '("C")))
@@ -59,10 +60,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-base:database-type-library-loaded ((database-type (eql :mysql)))
+(defmethod clsql-sys:database-type-library-loaded ((database-type (eql :mysql)))
   *mysql-library-loaded*)
                                      
-(defmethod clsql-base:database-type-load-foreign ((database-type (eql :mysql)))
+(defmethod clsql-sys:database-type-load-foreign ((database-type (eql :mysql)))
   (let ((mysql-path
         (uffi:find-foreign-library *mysql-library-candidate-names*
                                    *mysql-library-candidate-directories*
@@ -82,5 +83,5 @@ set to the right path before compiling or loading the system.")
   (setq *mysql-library-loaded* t))
 
 
-(clsql-base:database-type-load-foreign :mysql)
+(clsql-sys:database-type-load-foreign :mysql)