Commit 79ad0a2c authored by Leonard Zhou's avatar Leonard Zhou

Fix the test case error in PB.

parent 50849529
...@@ -153,6 +153,7 @@ a b ...@@ -153,6 +153,7 @@ a b
SET @@session.time_zone = default; SET @@session.time_zone = default;
DROP TABLE t1; DROP TABLE t1;
SET @@session.time_zone = default; SET @@session.time_zone = default;
reset master;
CREATE TABLE t1 (date timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, a int(11) default NULL); CREATE TABLE t1 (date timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, a int(11) default NULL);
SET @@session.time_zone='+01:00'; SET @@session.time_zone='+01:00';
insert into t1 values('2008-12-23 19:39:39',1); insert into t1 values('2008-12-23 19:39:39',1);
......
...@@ -159,6 +159,7 @@ SET @@session.time_zone = default; ...@@ -159,6 +159,7 @@ SET @@session.time_zone = default;
# Insert 2 values into timestamp col with different time_zone. Check result. # Insert 2 values into timestamp col with different time_zone. Check result.
--connection master --connection master
reset master;
CREATE TABLE t1 (date timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, a int(11) default NULL); CREATE TABLE t1 (date timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, a int(11) default NULL);
SET @@session.time_zone='+01:00'; SET @@session.time_zone='+01:00';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment