File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ show create table t3;
128
128
Table t3
129
129
Create Table CREATE TABLE `t3` (
130
130
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
131
- `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
131
+ `dt` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ,
132
132
`user` char(255) DEFAULT NULL,
133
133
`uuidf` longblob DEFAULT NULL,
134
134
`fkid` mediumint(9) DEFAULT NULL,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ show create table test.byrange_tbl;
114
114
Table byrange_tbl
115
115
Create Table CREATE TABLE `byrange_tbl` (
116
116
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
117
- `dt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
117
+ `dt` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ,
118
118
`user` char(255) DEFAULT NULL,
119
119
`uuidf` longblob DEFAULT NULL,
120
120
`fkid` mediumint(9) DEFAULT NULL,
You can’t perform that action at this time.
0 commit comments