Repository navigation
fix(mysql): translate column access error 1143 (2.3) - #1599
Merged
Merged
Conversation
(cherry picked from commit 82f90c4)
dimitri-yatsenko
requested review from
MilagrosMarin,
lum-agilyti and
ttngu207
October 17, 2026 21:29
MilagrosMarin
approved these changes
Oct 21, 2026
MilagrosMarin
left a comment
Contributor
There was a problem hiding this comment.
Thanks @dimitri-yatsenko — clean backport.
✅ The cherry-picked commit has the same patch-id as #1587's (82f90c44), and it keeps @Bhanu73120 as author.
✅ #1587 is on master, so the merge-order note is satisfied.
✅ It merges cleanly onto current maint/2.3 after #1593, and CI is green.
Approving — looks good to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #1587 to
maint/2.3for v2.3.5. The commit is cherry-picked unchanged and keeps its author.MySQL error 1143 (SELECT denied on a column) now raises
dj.errors.AccessError, the same as 1044 and 1142. Before, it came through as a rawpymysql.err.OperationalError, so code that catchesAccessErrormissed column-level grants. PostgreSQL already maps both denials toAccessError.Merge after #1587 lands on master.
Fixes #1586.