投票:explicit_default_timestamp 的默认设置
我们有以下查询
CREATE TABLE t ( id INTEGER, t1 TIMESTAMP, ); INSERT INTO t () VALUES (); SELECT * from t;在后台,MariaDB(默认情况下)将 timestamp 列类型扩展为
timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
我们正在考虑改变这种行为。
对于这个查询,在默认配置中您希望看到什么结果?
64%
(294 票)
(NULL, NULL)
36%
(166 票)
(NULL, '{{current wall-clock}}')
总票数:460