summaryrefslogtreecommitdiff
path: root/docs/ref/databases.txt
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2011-11-13 19:28:43 +0000
committerKaren Tracey <kmtracey@gmail.com>2011-11-13 19:28:43 +0000
commitfae75a32eed227454873f8715bb0d11d6fc3ad39 (patch)
tree6972539c7cea360ea8ae3d93958970fa3a0fbd43 /docs/ref/databases.txt
parent5de31cb8cb83c33d932d5ddf76ff81506c28bdff (diff)
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
Diffstat (limited to 'docs/ref/databases.txt')
-rw-r--r--docs/ref/databases.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 9ea0fe72cc..ae47667628 100644
--- a/docs/ref/databases.txt
+++ b/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()``
-------------------------------------------------