SET STORAGE_ENGINE = Falcon;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (
a date,
b datetime
);
INSERT INTO t1 (a) VALUES ('0999-01-01');
SELECT count(*) FROM t1 WHERE a = '0999-01-01';
count(*)
1
INSERT INTO t1 (b) VALUES ('0001-01-01 00:00:00');
SELECT count(*) FROM t1 WHERE b = '0001-01-01 00:00:00';
count(*)
1
DROP TABLE t1;
