mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
less strict assert to take into account weird cases
This commit is contained in:
@ -114,6 +114,9 @@ select min(a) from t1;
|
||||
min(a)
|
||||
-0.010
|
||||
drop table t1;
|
||||
create table t1 (c20 char);
|
||||
insert into t1 (c20) values (5000.0);
|
||||
drop table t1;
|
||||
create table t1 (f float(54));
|
||||
Incorrect column specifier for column 'f'
|
||||
drop table if exists t1;
|
||||
|
@ -54,6 +54,13 @@ select a from t1 order by a;
|
||||
select min(a) from t1;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# float in a char(1) field
|
||||
#
|
||||
create table t1 (c20 char);
|
||||
insert into t1 (c20) values (5000.0);
|
||||
drop table t1;
|
||||
|
||||
# Errors
|
||||
|
||||
--error 1063
|
||||
|
Reference in New Issue
Block a user