Navigation Menu

Skip to content

Commit

Permalink
doc en: remove the example of limitation about TIMESTAMP column
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Sep 27, 2012
1 parent a801908 commit a331c71
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions doc/source/reference.rst
Expand Up @@ -420,7 +420,7 @@ There are some limitations in mroonga storage engine.
Limitations about the value of columns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

There is a limitation about DATE, DATETIME, TIMESTAMP column in storage mode.
There is a limitation about DATE, DATETIME column in storage mode.

mroonga storage engine automatically convert 0 into 1 as the value of month or date.

Expand All @@ -444,11 +444,6 @@ Here is an example to show behavior described above.
input varchar(32) DEFAULT NULL,
datetime DATETIME DEFAULT NULL
) ENGINE=mroonga DEFAULT CHARSET=UTF8;
CREATE TABLE timestamp_limitation (
id INT PRIMARY KEY AUTO_INCREMENT,
input varchar(32) DEFAULT NULL,
timestamp TIMESTAMP DEFAULT NULL
) ENGINE=mroonga DEFAULT CHARSET=UTF8;
-- Test data for date_limitation
INSERT INTO date_limitation (input) VALUES ("NULL");
Expand All @@ -458,10 +453,6 @@ Here is an example to show behavior described above.
INSERT INTO datetime_limitation (input) VALUES ("NULL");
INSERT INTO datetime_limitation (input, datetime) VALUES ("1970-00-00 00:00:00", "1970-00-00 00:00:00");
-- Test data for timestamp_limitation
INSERT INTO timestamp_limitation (input) VALUES ("NULL");
INSERT INTO timestamp_limitation (input, timestamp) VALUES ("1970-00-00 00:00:00", "1970-00-00 00:00:00");
Here is the results of execution example::

mysql> select * from date_limitation;
Expand All @@ -482,11 +473,3 @@ Here is the results of execution example::
+----+---------------------+---------------------+
2 rows in set (0.00 sec)
mysql> select * from timestamp_limitation;
+----+---------------------+---------------------+
| id | input | timestamp |
+----+---------------------+---------------------+
| 1 | NULL | 0000-00-00 00:00:00 |
| 2 | 1970-00-00 00:00:00 | 0000-00-00 00:00:00 |
+----+---------------------+---------------------+
2 rows in set (0.00 sec)

0 comments on commit a331c71

Please sign in to comment.