forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
planner/core,session: fix privilege check for update (pingcap#8376)
In the statement: "update t1,t2 set t1.id = t2.id" TiDB should check update privilege for t1 and select privilege for t2, Fix a bug that it checks update privilege for both t1 and t2
- Loading branch information
1 parent
43d4cd8
commit e924347
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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