Find field attributes case-insensitively, fix #80.

That's a follow-up to the case management cleanup for fields and
columns, wherein the "null if" property would stop being applied
properly.
This commit is contained in:
Dimitri Fontaine 2014-06-17 21:53:53 +02:00
parent 88eba90776
commit 252abdeaa7

View File

@ -234,7 +234,8 @@
(destructuring-bind (&key null-as date-format &allow-other-keys)
(typecase field-name-or-list
(list (cdr field-name-or-list))
(t (cdr (assoc field-name-or-list fields :test #'string=))))
(t (cdr (assoc field-name-or-list fields
:test #'string-equal))))
(declare (ignore date-format)) ; TODO
(if (null null-as)
#'identity