Add comments in transforms.lisp.

This commit is contained in:
Dimitri Fontaine 2013-11-17 22:10:45 +01:00
parent ed6ba23bcb
commit 0d3c6f4a2c

View File

@ -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