[Django] #27681: Binary &/| operators work incorrectly for negative values on MySQL

15 views
Skip to first unread message

Django

unread,
Jan 3, 2017, 12:27:03 PM1/3/17
to django-...@googlegroups.com
#27681: Binary &/| operators work incorrectly for negative values on MySQL
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: felixxm
Type: Bug | Status: assigned
Component: Database | Version: 1.10
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
MySQL's binary operators return an unsigned 64-bit integer which means
they don't return the same results as other databases.

[https://github.com/django/django/pull/7787 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/27681>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 3, 2017, 12:30:19 PM1/3/17
to django-...@googlegroups.com
#27681: Binary &/| operators work incorrectly for negative values on MySQL
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: felixxm
Type: Bug | Status: assigned
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/27681#comment:1>

Django

unread,
Jan 3, 2017, 1:17:57 PM1/3/17
to django-...@googlegroups.com
#27681: Binary &/| operators work incorrectly for negative values on MySQL
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: felixxm
Type: Bug | Status: closed

Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"fd2f7e47671239dcff98cfb922221ab170aa6461" fd2f7e47]:
{{{
#!CommitTicketReference repository=""
revision="fd2f7e47671239dcff98cfb922221ab170aa6461"
Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27681#comment:2>

Reply all
Reply to author
Forward
0 new messages