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

Unstable test in default_as_expression.test #53024

Closed
zimulala opened this issue May 6, 2024 · 0 comments
Closed

Unstable test in default_as_expression.test #53024

zimulala opened this issue May 6, 2024 · 0 comments
Labels
affects-8.1 component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.

Comments

@zimulala
Copy link
Contributor

zimulala commented May 6, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

./run-tests.sh -b Y -r ddl/default_as_expression

2. What did you expect to see? (Required)

alter table t0 add column c2 date default (date_format(now(),'%Y-%m'));
Error 1292 (22007): Incorrect datetime value: '2024-05'

3. What did you see instead (Required)

alter table t0 add column c2 date default (date_format(now(),'%Y-%m'));
Error 1292 (22007): Incorrect datetime value: '2024-04'

4. What is your TiDB version? (Required)

v8.1

@zimulala zimulala added type/bug The issue is confirmed as a bug. severity/major labels May 6, 2024
@zimulala zimulala changed the title Unstable Test in default_as_expression.test Unstable test in default_as_expression.test May 6, 2024
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants