Add support for current_timestamp() default spelling.

That's new in MariaDB 10 apparently.
This commit is contained in:
Dimitri Fontaine 2017-09-14 15:33:18 +02:00
parent f921658866
commit 181f344159

View File

@ -177,7 +177,8 @@
((and (stringp default)
;; address CURRENT_TIMESTAMP(6) and other spellings
(or (uiop:string-prefix-p "CURRENT_TIMESTAMP" default)
(string= "CURRENT TIMESTAMP" default)))
(string= "CURRENT TIMESTAMP" default)
(string= "current_timestamp()" default)))
:current-timestamp)
(t (column-default pgcol))))