Browse files

Fix #17174: Add note in the supported databases notes that MySQL can'…

…t conceive of a time unit smaller than a second. Thanks jammon and poirier.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5de31cb commit fae75a32eed227454873f8715bb0d11d6fc3ad39 @kmtracey kmtracey committed Nov 13, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/ref/databases.txt
View
3 docs/ref/databases.txt
@@ -372,6 +372,9 @@ store a timezone-aware ``time`` or ``datetime`` to a
:class:`~django.db.models.TimeField` or :class:`~django.db.models.DateTimeField`
respectively, a ``ValueError`` is raised rather than truncating data.
+MySQL does not store fractions of seconds. Fractions of seconds are truncated
+to zero when the time is stored.
+
Row locking with ``QuerySet.select_for_update()``
-------------------------------------------------

0 comments on commit fae75a3

Please sign in to comment.