From 0d3c6f4a2c1418b0e425d8d2471c8ca1744155f2 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Sun, 17 Nov 2013 22:10:45 +0100 Subject: [PATCH] Add comments in transforms.lisp. --- src/transforms.lisp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/transforms.lisp b/src/transforms.lisp index 9c639a4..fe39c0b 100644 --- a/src/transforms.lisp +++ b/src/transforms.lisp @@ -22,10 +22,18 @@ float-to-string set-to-enum-array)) + +;;; +;;; Some tools for reading expressions in the parser, and evaluating them. +;;; (defun intern-symbol (symbol-name) (intern (string-upcase symbol-name) (find-package "PGLOADER.TRANSFORMS"))) + +;;; +;;; Transformation functions +;;; (defun zero-dates-to-null (date-string) "MySQL accepts '0000-00-00' as a date, we want NIL (SQL NULL) instead." (cond