Bug #90132 | now() and sysdate() returns zero time when before 10 am local time | ||
---|---|---|---|
Submitted: | 19 Mar 2018 23:02 | Modified: | 20 Mar 2018 16:20 |
Reporter: | Alex Yanovsky | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Shell General / Core Client | Severity: | S2 (Serious) |
Version: | 1.0.11 | OS: | Windows (got the same issue on Windows 7, and 10) |
Assigned to: | CPU Architecture: | x86 (64-bit) | |
Tags: | system time |
[19 Mar 2018 23:02]
Alex Yanovsky
[20 Mar 2018 10:19]
MySQL Verification Team
Hello Alex Yanovsky, Thank you for the report. Observed this with MySQL Shell 1.0.11. Thanks, Umesh
[20 Mar 2018 15:52]
Alfredo Kojima
Posted by developer: This issue was fixed in the shell 8.0 series and can no longer be reproduced.
[20 Mar 2018 16:03]
Alfredo Kojima
Please try mysql shell 8.0.4 or later.
[20 Mar 2018 16:16]
Alex Yanovsky
Thanks a lot. Understood. So it is only specific to shell? I was also using JDBC doing something like insert into my_table(my_date) values (sysdate()); and seeing zero time in the table. But, true, when I was checking using printing out the table in the same MySQL shell. Well, if it is about shell, then it is not so important. Thanks.