2000-12-28 02:56:38 +01:00
|
|
|
#
|
|
|
|
# Test keywords as fields
|
|
|
|
#
|
|
|
|
|
2003-01-06 00:48:59 +01:00
|
|
|
--disable_warnings
|
2000-12-28 02:56:38 +01:00
|
|
|
drop table if exists t1;
|
2003-01-06 00:48:59 +01:00
|
|
|
--enable_warnings
|
|
|
|
|
2000-12-28 02:56:38 +01:00
|
|
|
create table t1 (time time, date date, timestamp timestamp);
|
|
|
|
insert into t1 values ("12:22:22","97:02:03","1997-01-02");
|
|
|
|
select * from t1;
|
|
|
|
select t1.time+0,t1.date+0,t1.timestamp+0,concat(date," ",time) from t1;
|
|
|
|
drop table t1;
|
2001-10-24 19:52:19 +02:00
|
|
|
create table events(binlog int);
|
|
|
|
insert into events values(1);
|
|
|
|
select events.binlog from events;
|
|
|
|
drop table events;
|