From 6c5a2720e155c775b5c5482dac79af475989c212 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Fri, 29 Mar 2002 08:28:14 +0000 Subject: [PATCH] r1699: *** empty log message *** --- interfaces/aodbc/aodbc-sql.cl | 8 ++++++-- .../postgresql-socket/postgresql-socket-sql.cl | 13 ++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/interfaces/aodbc/aodbc-sql.cl b/interfaces/aodbc/aodbc-sql.cl index edb861e..28f7bb7 100644 --- a/interfaces/aodbc/aodbc-sql.cl +++ b/interfaces/aodbc/aodbc-sql.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: aodbc-sql.cl,v 1.7 2002/03/29 08:23:38 kevin Exp $ +;;;; $Id: aodbc-sql.cl,v 1.8 2002/03/29 08:28:14 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -20,6 +20,7 @@ (in-package :clsql-aodbc) +;; interface foreign library loading routines (defmethod database-type-library-loaded ((database-type (eql :aodbc))) "T if foreign library was able to be loaded successfully. " (when (find-package :dbi) ;; finds Allegro's DBI (AODBC) package @@ -29,11 +30,14 @@ t) (when (find-package :dbi) - (clsql-sys:database-type-load-foreign :aodbc)) ;; doesn't do anything + (clsql-sys:database-type-load-foreign :aodbc)) (defmethod database-initialize-database-type ((database-type (eql :aodbc))) t) + +;; AODBC interfac + (defclass aodbc-database (database) ((aodbc-conn :accessor database-aodbc-conn :initarg :aodbc-conn))) diff --git a/interfaces/postgresql-socket/postgresql-socket-sql.cl b/interfaces/postgresql-socket/postgresql-socket-sql.cl index 0c99be0..7e79bd1 100644 --- a/interfaces/postgresql-socket/postgresql-socket-sql.cl +++ b/interfaces/postgresql-socket/postgresql-socket-sql.cl @@ -8,7 +8,7 @@ ;;;; Original code by Pierre R. Mai ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: postgresql-socket-sql.cl,v 1.8 2002/03/27 12:09:39 kevin Exp $ +;;;; $Id: postgresql-socket-sql.cl,v 1.9 2002/03/29 08:28:14 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai @@ -28,6 +28,17 @@ (in-package :clsql-postgresql-socket) +;; interface foreign library loading routines + +(defmethod database-type-library-loaded ((database-type (eql :postgresql-socket))) + t) + +(defmethod clsql-sys:database-type-load-foreign ((database-type (eql :postgresql-socket))) + t) + +(clsql-sys:database-type-load-foreign :postgresql-socket) + + ;; Field type conversion (defun make-type-list-for-auto (cursor) -- 2.34.1