mirror of
https://github.com/django/django.git
synced 2025-09-15 15:05:14 +00:00
Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
This commit is contained in:
parent
a918f8b089
commit
710e11d076
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