Bug #50426 Support functional field defaults

Submitted: 18 Jan 2010 19:47 Modified: 19 Jan 2010 9:40
Reporter: Olaf van der Spek (Basic Quality Contributor) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: DDL Severity:S4 (Feature request)
Version:* OS:Any
Assigned to: CPU Architecture:Any
Tags: qc

[18 Jan 2010 19:47] Olaf van der Spek
Description:
Currently only constants can be used as column defaults. Could you add support for functional defaults?
That way I could for example set the default to unix_timestamp(), which would get evaluated when needed.

How to repeat:
-
[19 Jan 2010 4:48] Valeriy Kravchuk
I think this is a duplicate of Bug#12707. Please, check.
[19 Jan 2010 9:23] Olaf van der Spek
Yep
[19 Jan 2010 9:40] Valeriy Kravchuk
Duplicate of Bug#12707.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.