Comments - DEFAULT CURRENT_TIMESTAMP is not possible

6 years, 8 months ago Andrew Hutchings

Hi,

In 1.0 & 1.1 CURRENT_TIMESTAMP is not supported. We have a ticket to add support for this: https://jira.mariadb.org/browse/MCOL-1039

There is not a good alternative at the moment that will cover every use case because the alternative would need to support DML statements via MariaDB as well as cpimport and API writes.

If you are just doing DML writes and not using cpimport then a TRIGGER may work.

 
6 years, 8 months ago Sharon Lavie

Trigger would work for sure.

Thank you.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.