From: paul
Date: December 10 2005 6:02pm
Subject: svn commit - mysqldoc@docsrva: r536 - in trunk: . refman-4.1
List-Archive: http://lists.mysql.com/commits/62
Message-Id: <200512101802.jBAI2DcV028127@docsrva.mysql.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: paul
Date: 2005-12-10 19:02:13 +0100 (Sat, 10 Dec 2005)
New Revision: 536
Log:
r4670@frost: paul | 2005-12-10 12:00:56 -0600
4.1: Remove references to SQL modes that do not exist until MySQL 5.0.
Modified:
trunk/
trunk/refman-4.1/database-administration.xml
trunk/refman-4.1/problems.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:4669
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:1609
+ b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:4670
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:1609
Modified: trunk/refman-4.1/database-administration.xml
===================================================================
--- trunk/refman-4.1/database-administration.xml 2005-12-10 18:01:51 UTC (rev 535)
+++ trunk/refman-4.1/database-administration.xml 2005-12-10 18:02:13 UTC (rev 536)
@@ -3994,8 +3994,7 @@
- Equivalent to NO_FIELD_OPTIONS,
- HIGH_NOT_PRECEDENCE.
+ Equivalent to NO_FIELD_OPTIONS.
@@ -4009,8 +4008,7 @@
- Equivalent to NO_FIELD_OPTIONS,
- HIGH_NOT_PRECEDENCE.
+ Equivalent to NO_FIELD_OPTIONS.
Modified: trunk/refman-4.1/problems.xml
===================================================================
--- trunk/refman-4.1/problems.xml 2005-12-10 18:01:51 UTC (rev 535)
+++ trunk/refman-4.1/problems.xml 2005-12-10 18:02:13 UTC (rev 536)
@@ -3533,35 +3533,6 @@
- If you are using the ALLOW_INVALID_DATES SQL
- mode, MySQL allows you to store dates that are given only
- limited checking: MySQL ensures only that the day is in the
- range from 1 to 31 and the month is in the range from 1 to 12.
-
-
-
- This makes MySQL very convenient for Web applications where you
- obtain year, month, and day in three different fields and you
- want to store exactly what the user inserted (without date
- validation).
-
-
-
- If you are not using the NO_ZERO_IN_DATE SQL
- mode, the day or month part can be zero. This is convenient if
- you want to store a birthdate in a DATE
- column and you know only part of the date.
-
-
-
- If you are not using the NO_ZERO_DATE SQL
- mode, MySQL also allows you to store
- '0000-00-00' as a dummy date.
- This is in some cases more convenient than using
- NULL values.
-
-
-
If the date cannot be converted to any reasonable value, a
0 is stored in the DATE
column, which is retrieved as '0000-00-00'.
@@ -3572,19 +3543,6 @@
server to check the dates.
-
- If you want MySQL to check all dates and accept only legal dates
- (unless overriden by IGNORE), you should set
- sql_mode to
- "NO_ZERO_IN_DATE,NO_ZERO_DATE".
-
-
-
- Date handling in MySQL 5.0.1 and earlier works like MySQL 5.0.2
- with the ALLOW_INVALID_DATES SQL mode
- enabled.
-
-
@@ -4016,7 +3974,7 @@
FLOAT to a DOUBLE
fixes this. See .
-
+
Similar problems may be encountered when comparing
DECIMAL values.