#23357: MySQL DatabaseIntrospection.data_types_reverse for FIELD_TYPE.SHORT is wrong type -------------------------------------+------------------------------------- Reporter: jdufresne | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: master (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: introspection | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 1 | -------------------------------------+-------------------------------------
Comment (by claudep): Replying to [comment:2 shaib]: > Is #22738 related? Not really, as MySQL returns the same `type_code=1` for both TINYINT and BOOLEAN. However, I just noticed that we might differentiate boolean fields on MySQL with internal_size/precision (4 for TINYINT and 1 for BOOLEAN). -- Ticket URL: <https://code.djangoproject.com/ticket/23357#comment:3> 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/067.e821e06e56fa9148459530b10048ce36%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.