From 5829838b970346a58f75683ecba005007414edb9 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 6 Apr 2002 22:27:41 +0000 Subject: [PATCH] r1747: *** empty log message *** --- interfaces/mysql/mysql-loader.cl | 6 +++++- sql/usql.cl | 16 +++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index d12fadd..fcc31e6 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.4 2002/04/01 05:27:55 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.5 2002/04/06 22:27:41 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -73,6 +73,10 @@ set to the right path before compiling or loading the system.") *mysql-library-candidate-drive-letters*))) (when (and + ;; zlib required to load mysql on CMUCL Solaris + (uffi:load-foreign-library + (uffi:find-foreign-library '("libz" "zlib") + '("/usr/lib/" "/usr/local/" "/lib/"))) (uffi:load-foreign-library mysql-path :module "mysql" :supporting-libraries diff --git a/sql/usql.cl b/sql/usql.cl index a22b108..85e7b77 100644 --- a/sql/usql.cl +++ b/sql/usql.cl @@ -8,7 +8,7 @@ ;;;; Programmers: Kevin M. Rosenberg and onShore Development Inc ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: usql.cl,v 1.3 2002/04/06 19:54:15 kevin Exp $ +;;;; $Id: usql.cl,v 1.4 2002/04/06 22:27:41 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; and onShore Development Inc @@ -57,6 +57,9 @@ specifies the database to operation on, defaulting to (error "(rename-attribute ~a ~a ~a ~a) is not implemented" table oldatt newname database)) +(defclass %sql-expression () + ()) + ;; For SQL Identifiers of generic type (defclass sql-ident (%sql-expression) ((name @@ -96,12 +99,6 @@ specifies the database to operation on, defaulting to (defun sequence-next (name &key (database *default-database*)) (database-sequence-next name database)) -(defclass sql-typecast-exp (sql-value-exp) - () - (:documentation - "An SQL typecast expression.") - ) - (defclass sql-value-exp (%sql-expression) ((modifier :initarg :modifier @@ -113,6 +110,11 @@ specifies the database to operation on, defaulting to "An SQL value expression.") ) +(defclass sql-typecast-exp (sql-value-exp) + () + (:documentation + "An SQL typecast expression.") + ) (defvar +null-string+ "NULL") (defvar *sql-stream* nil -- 2.34.1