From d08ef5aeb704646f44879a58bef3f68eb4b06722 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Tue, 5 Mar 2013 10:54:05 +0100 Subject: [PATCH] Take the column type definition such as char(24) rather than just char --- mysql.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql.lisp b/mysql.lisp index f792911..b2472fd 100644 --- a/mysql.lisp +++ b/mysql.lisp @@ -96,7 +96,7 @@ that would be int and int(7) or varchar and varchar(25). ((string= dtype "datetime") "timestamptz") - (t dtype))) + (t ctype))) ;; forget about stupid defaults (default (cond ((and (string= dtype "datetime")