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

Invalid default value for 'column_name' #9020

Closed
Lloyd-Pottiger opened this issue May 5, 2024 · 0 comments · Fixed by #9021
Closed

Invalid default value for 'column_name' #9020

Lloyd-Pottiger opened this issue May 5, 2024 · 0 comments · Fixed by #9021
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. component/compute severity/minor type/bug The issue is confirmed as a bug.

Comments

@Lloyd-Pottiger
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

mysql> set sql_mode='ansi'; CREATE TABLE test.t (id int, i int default '1.1', f float default 'a', d decimal(10,2) default 'b', y year default 'f');
ERROR 1067 (42000) at line 1: Invalid default value for 'f'

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

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

release-8.1

@Lloyd-Pottiger Lloyd-Pottiger added type/bug The issue is confirmed as a bug. affects-8.1 This bug affects the 8.1.x(LTS) versions. severity/minor labels May 5, 2024
ti-chi-bot bot pushed a commit that referenced this issue May 5, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in #9021 May 6, 2024
ti-chi-bot bot pushed a commit that referenced this issue 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 This bug affects the 8.1.x(LTS) versions. component/compute severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants