DROP TABLE IF EXISTS diaries;
CREATE TABLE diaries (
name VARCHAR(255),
recorded_at TIMESTAMP(1) NULL,
KEY recorded_at_index(recorded_at)
) DEFAULT CHARSET=utf8mb4;
INSERT INTO diaries VALUES ("zero time", "0000-00-00 00:00:00.0");
INSERT INTO diaries VALUES ("null time", NULL);
INSERT INTO diaries VALUES ("Mroonga release time", "2010-8-19 10:09:19.0");
SELECT mroonga_command("index_column_diff --table diaries#recorded_at_index --name index");
mroonga_command("index_column_diff --table diaries#recorded_at_index --name index")
[]
SELECT * FROM diaries WHERE recorded_at = "0000-00-00 00:00:00.0";
name	recorded_at
zero time	0000-00-00 00:00:00.0
null time	0000-00-00 00:00:00.0
DROP TABLE diaries;
