1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.

This commit is contained in:
George Marshall
2015-11-16 22:28:03 -08:00
committed by Tim Graham
parent a918f8b089
commit 710e11d076
3 changed files with 36 additions and 5 deletions

View File

@@ -46,3 +46,8 @@ Bugfixes
* Fixed ``set_FOO_order()`` crash when the ``ForeignKey`` of a model with
``order_with_respect_to`` references a model with a ``OneToOneField``
primary key (:ticket:`25786`).
* Fixed incorrect validation for ``PositiveIntegerField`` and
``PositiveSmallIntegerField`` on MySQL resulting in values greater than
4294967295 or 65535, respectively, passing validation and being silently
truncated by the database (:ticket:`25767`).