Opened 4 years ago

Last modified 4 years ago

#31770 closed New feature

Enable has_select_for_update_of feature on MySQL — at Version 1

Reported by: Simon Charette Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Simon Charette)

While the SELECT FOR UPDATE documentation now mentions the OF option I couldn't find a single entry in the release notes so I'm not sure which version of MySQL supposedly added support for it.

All the tests/select_for_update tests happen to pass when setting has_select_for_update_of = True even on MySQL 5.5 so I'm not sure if this was always supported and never documented or if the syntax was always allowed and they just recently added support for it? Only the MySQL 8 documentation mentions it though.

In all cases it seems like the feature should be allowed since all supported versions of MySQL allow it.

Change History (1)

comment:1 by Simon Charette, 4 years ago

Description: modified (diff)
Summary: Enable has_select_for_update_of feature on MySQL 8Enable has_select_for_update_of feature on MySQL
Note: See TracTickets for help on using tickets.
Back to Top