mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -2032,6 +2032,17 @@ Warnings:
|
||||
Warning 1280 Name 'foo' ignored for PRIMARY key.
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MDEV-30342 Wrong "Truncated incorrect DECIMAL value" warning/error
|
||||
#
|
||||
create table t1(c1 varchar(1));
|
||||
insert into t1(c1) values('#');
|
||||
select @@sql_mode like '%strict_all_tables%';
|
||||
@@sql_mode like '%strict_all_tables%'
|
||||
0
|
||||
create table t2 as select if(c1 = '#', c1 = 0, c1) as c1 from t1;
|
||||
ERROR 22007: Truncated incorrect DECIMAL value: '#'
|
||||
drop table t1;
|
||||
#
|
||||
# End of 10.3 tests
|
||||
#
|
||||
#
|
||||
|
Reference in New Issue
Block a user