blob: 9922df447fc2173e932c65bd985eb5a53019d95b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#
# Test year
#
--disable_warnings
drop table if exists t1;
--enable_warnings
create table t1 (y year,y2 year(2));
insert into t1 values (0,0),(1999,1999),(2000,2000),(2001,2001),(70,70),(69,69);
select * from t1;
select * from t1 order by y;
select * from t1 order by y2;
drop table t1;
|