more attempts at session time zone

This commit is contained in:
Shlomi Noach 2018-10-16 11:25:46 +03:00
parent 9512a2de40
commit 02602302a0
1 changed files with 2 additions and 0 deletions

View File

@ -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;
@ -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 ;;