X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Foperations.lisp;h=990ed34bd0b45a070feeafe771fa47d1f3f15d55;hb=f69c5bfba59d54628f9a08b83413ec3df3c92432;hp=b07c068bb34fad96d4bb7495fb9cbb9c36459569;hpb=7f0e4a65d1b425f2fa58fc7cce8296c1a6c52c2f;p=clsql.git diff --git a/sql/operations.lisp b/sql/operations.lisp index b07c068..990ed34 100644 --- a/sql/operations.lisp +++ b/sql/operations.lisp @@ -1,18 +1,18 @@ ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- -;;;; ====================================================================== -;;;; File: operations.lisp -;;;; Updated: <04/04/2004 12:07:26 marcusp> -;;;; ====================================================================== +;;;; ************************************************************************* ;;;; -;;;; Description ========================================================== -;;;; ====================================================================== +;;;; $Id$ ;;;; ;;;; Definition of SQL operations used with the symbolic SQL syntax. ;;;; -;;;; ====================================================================== - -(in-package :clsql-usql-sys) +;;;; This file is part of CLSQL. +;;;; +;;;; CLSQL users are granted the rights to distribute and use this software +;;;; as governed by the terms of the Lisp Lesser GNU Public License +;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. +;;;; ************************************************************************* +(in-package #:clsql-sys) ;; Keep a hashtable for mapping symbols to sql generator functions, ;; for use by the bracketed reader syntax. @@ -26,7 +26,7 @@ `(progn (defun ,function ,@body) (let ((symbol (cadr (member :symbol ',definition-keys)))) - (setf (gethash (if symbol (string-upcase symbol) ',function) + (setf (gethash (if symbol (symbol-name-default-case symbol) ',function) *sql-op-table*) ',function))))