#27979: Using F() to save negative integers in unsigned columns on MySQL should raise IntegrityError rather than OperationalError -------------------------------------+------------------------------------- Reporter: Chris Dary | Owner: nobody Type: | Status: closed Cleanup/optimization | Component: Database layer | Version: 1.10 (models, ORM) | Severity: Normal | Resolution: fixed Keywords: db, mysql, | Triage Stage: Ready for exceptions, OperationalError | 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: new => closed * resolution: => fixed Comment: In [changeset:"dd82f3327124fd2762cf6df2ac8c6380772bf127" dd82f332]: {{{ #!CommitTicketReference repository="" revision="dd82f3327124fd2762cf6df2ac8c6380772bf127" Fixed #27979 -- Made MySQL raise IntegrityError rather than OperationalError when saving negative numbers in PositiveInteger fields. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/27979#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.257f12ab86be9de87db78ec3f6d20b3f%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.