mirror of
https://github.com/django/django.git
synced 2025-08-18 01:30:42 +00:00
[1.9.x] Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
Backport of 710e11d076
from master
This commit is contained in:
parent
7fccc6e8fa
commit
11d54e8f0d
3 changed files with 36 additions and 5 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue