1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

test case for bug #614

mysql-test/r/func_time.result:
  result's checking added
mysql-test/t/func_time.test:
  testcase added
This commit is contained in:
unknown
2003-06-11 22:07:23 +05:00
parent a59410fd68
commit 4885c3ff9d
2 changed files with 5 additions and 0 deletions

View File

@ -329,6 +329,9 @@ insert into t1 values ('2001-01-12 12:23:40');
select ctime, hour(ctime) from t1;
ctime hour(ctime)
2001-01-12 12:23:40 12
select ctime from t1 where extract(MONTH FROM ctime) = 1 AND extract(YEAR FROM ctime) = 2001;
ctime
2001-01-12 12:23:40
drop table t1;
create table t1 (id int);
create table t2 (id int, date date);