mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
An addition (see ChangeSet
1.2082 04/10/11 18:38:48 ram@gw.mysql.r18.ru +3 -0 A fix (bug #5615 type of aggregate function column wrong when using group by).) Shouldn't it be 'int(11) not null' == the same as in the t1?
This commit is contained in:
parent
47f8a473bd
commit
556950da46
1 changed files with 3 additions and 1 deletions
|
@ -250,9 +250,11 @@ type_bool type_tiny type_short type_mediumint type_bigint type_decimal type_nume
|
|||
drop table t1;
|
||||
create table t1 (a int not null);
|
||||
create table t2 select max(a) from t1;
|
||||
Warnings:
|
||||
Warning 1263 Data truncated; NULL supplied to NOT NULL column 'max(a)' at row 1
|
||||
show columns from t2;
|
||||
Field Type Null Key Default Extra
|
||||
max(a) bigint(20) YES NULL
|
||||
max(a) int(11) 0
|
||||
drop table t1,t2;
|
||||
create table t1 (c decimal, d double, f float, r real);
|
||||
show columns from t1;
|
||||
|
|
Loading…
Add table
Reference in a new issue