mysql-test/r/show_check.result:
  Auto merged
sql/sql_select.cc:
  Auto merged
This commit is contained in:
unknown 2005-02-28 18:11:18 +04:00
commit 7865746c27
4 changed files with 30 additions and 1 deletions

View file

@ -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;