Opened 4 years ago
Last modified 4 years ago
#31770 closed New feature
Enable has_select_for_update_of feature on MySQL 8 — at Initial Version
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
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 8 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?
In all cases it seems like the feature should be allowed since all supported versions of MySQL allow it.