Skip to content

Commit

Permalink
more attempts at session time zone
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Noach committed Oct 16, 2018
1 parent 9512a2d commit 0260230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions localtests/datetime-1970/create.sql
Expand Up @@ -9,6 +9,7 @@ create table gh_ost_test (
primary key(id)
) auto_increment=1;

set session time_zone='+00:00';
insert into gh_ost_test values (1, '0000-00-00 00:00:00', now(), 0);

drop event if exists gh_ost_test;
Expand All @@ -21,5 +22,6 @@ create event gh_ost_test
enable
do
begin
set session time_zone='+00:00';
update gh_ost_test set counter = counter + 1 where id = 1;
end ;;

0 comments on commit 0260230

Please sign in to comment.