Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data truncation: invalid time format: '{1969 12 31 17 0 1 0}' #11727

Closed
birdstorm opened this issue Aug 13, 2019 · 1 comment
Closed

Data truncation: invalid time format: '{1969 12 31 17 0 1 0}' #11727

birdstorm opened this issue Aug 13, 2019 · 1 comment
Labels
type/bug The issue is confirmed as a bug.

Comments

@birdstorm
Copy link
Contributor

birdstorm commented Aug 13, 2019

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
SET time_zone = '-7:00';
create table t(col0 timestamp not null);
insert into t values('1969-12-31 17:00:01.0');
  1. What did you expect to see?

normal

  1. What did you see instead?
Data truncation: invalid time format: '{1969 12 31 17 0 1 0}'
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?

Can be reproduced in both v2.0.11 and v2.1.15

@bb7133
Copy link
Member

bb7133 commented Jan 7, 2020

Hi @birdstorm , this issue is closed by #13614, thank you for reporting!

@bb7133 bb7133 closed this as completed Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants