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

Fix cast datetime to decimal wrong result bug (#4152) #4156

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
Signed-off-by: guo-shaoge <[email protected]>
guo-shaoge authored and ti-chi-bot committed Feb 28, 2022
commit bc92acba576e241a0d6cdec42e85aea51b0f1085
2 changes: 1 addition & 1 deletion tests/fullstack-test/expr/cast_as_decimal.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mysql> drop table test.t1;
mysql> drop table if exists test.t1;
mysql> create table test.t1(c1 datetime(5));
mysql> insert into test.t1 values('2022-10-10 10:10:10.12345');
mysql> alter table test.t1 set tiflash replica 1;