X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Foperations.lisp;h=990ed34bd0b45a070feeafe771fa47d1f3f15d55;hb=9698f9b6d0f6439b7547d198bb9db95f61b20c5d;hp=b552e9855721aa3de37b63d9e6c86f3a4e1b7a4e;hpb=a4449b6f1b9fb2471da255fc506bcad6f8feb220;p=clsql.git diff --git a/sql/operations.lisp b/sql/operations.lisp index b552e98..990ed34 100644 --- a/sql/operations.lisp +++ b/sql/operations.lisp @@ -1,18 +1,19 @@ ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- -;;;; ====================================================================== -;;;; $Id: $ -;;;; ====================================================================== +;;;; ************************************************************************* ;;;; -;;;; Description ========================================================== -;;;; ====================================================================== +;;;; $Id$ ;;;; ;;;; Definition of SQL operations used with the symbolic SQL syntax. ;;;; -;;;; ====================================================================== +;;;; 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. @@ -25,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))))