We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f911a commit abf77daCopy full SHA for abf77da
unit_tests.sh
100644
100755
@@ -101,5 +101,25 @@ cat <<\SQL
101
PARTITION p7 VALUES LESS THAN (2013) ENGINE = InnoDB)
102
SQL
103
104
+cat <<\SQLin
105
+CREATE TABLE `CCC`(
106
+ `created` datetime DEFAULT current_timestamp(),
107
+ `updated` datetime DEFAULT current_timestamp() ON UPDATE current_timestamp()
108
+);
109
+SQLin
110
+
111
+cat <<\SQLout
112
+PRAGMA synchronous = OFF;
113
+PRAGMA journal_mode = MEMORY;
114
+BEGIN TRANSACTION;
115
116
+ `created` datetime DEFAULT current_timestamp
117
+, `updated` datetime DEFAULT current_timestamp
118
119
+END TRANSACTION;
120
+SQLout
121
122
123
cat <<\SQL
124
125
0 commit comments