Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: fix revoke statement for CURRENT_USER() and refine error message #24052

Merged
merged 28 commits into from
May 12, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
38e8549
*: fix revoke statement for CURRENT_USER() and refine error message
tiancaiamao Apr 15, 2021
4a963b2
fix errdoc check
tiancaiamao Apr 15, 2021
ef17dd2
fix CI and go mod tidy
tiancaiamao Apr 15, 2021
2eeb5ec
fix CI?
tiancaiamao Apr 15, 2021
a540edf
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
43c1e75
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
a426031
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
37b39f4
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
b100ea9
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
405deb7
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
d9d227d
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
b485c28
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
234fb43
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
4cd90ca
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
6f6dad8
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
71269b1
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
2b7e7a6
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
87cbe15
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
4673e92
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
e0b495b
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
a279c34
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
beffc2d
Merge branch 'master' into privilege
ti-chi-bot Apr 28, 2021
4487714
Merge branch 'master' into privilege
ti-chi-bot Apr 29, 2021
6009917
Merge branch 'master' into privilege
ti-chi-bot Apr 29, 2021
410676f
Merge branch 'master' into privilege
ti-chi-bot Apr 29, 2021
772180e
Merge branch 'master' into privilege
ti-chi-bot Apr 29, 2021
830b6d6
Merge branch 'master' into privilege
ti-chi-bot Apr 29, 2021
840f66e
Merge branch 'master' into privilege
ti-chi-bot May 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix CI and go mod tidy
  • Loading branch information
tiancaiamao committed Apr 15, 2021
commit ef17dd2f851af669951a4a2197393e14be6a3d47
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ require (
github.com/shirou/gopsutil v3.21.2+incompatible
github.com/sirupsen/logrus v1.6.0
github.com/soheilhy/cmux v0.1.4
github.com/stretchr/testify v1.6.1
github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2
github.com/tikv/pd v1.1.0-beta.0.20210323121136-78679e5e209d
github.com/twmb/murmur3 v1.1.3
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ github.com/pingcap/kvproto v0.0.0-20210308063835-39b884695fb8 h1:t72qxPxunoKykkA
github.com/pingcap/kvproto v0.0.0-20210308063835-39b884695fb8/go.mod h1:IOdRDPLyda8GX2hE/jO7gqaCV/PNFh8BZQCQZXfIOqI=
github.com/pingcap/log v0.0.0-20191012051959-b742a5d432e9/go.mod h1:4rbK1p9ILyIfb6hU7OG2CiWSqMXnp3JMbiaVJ6mvoY8=
github.com/pingcap/log v0.0.0-20200511115504-543df19646ad/go.mod h1:4rbK1p9ILyIfb6hU7OG2CiWSqMXnp3JMbiaVJ6mvoY8=
github.com/pingcap/log v0.0.0-20201112100606-8f1e84a3abc8 h1:M+DNpOu/I3uDmwee6vcnoPd6GgSMqND4gxvDQ/W584U=
github.com/pingcap/log v0.0.0-20201112100606-8f1e84a3abc8/go.mod h1:4rbK1p9ILyIfb6hU7OG2CiWSqMXnp3JMbiaVJ6mvoY8=
github.com/pingcap/log v0.0.0-20210317133921-96f4fcab92a4 h1:ERrF0fTuIOnwfGbt71Ji3DKbOEaP189tjym50u8gpC8=
github.com/pingcap/log v0.0.0-20210317133921-96f4fcab92a4/go.mod h1:4rbK1p9ILyIfb6hU7OG2CiWSqMXnp3JMbiaVJ6mvoY8=
Expand Down
2 changes: 1 addition & 1 deletion session/session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2889,7 +2889,7 @@ func (s *testSessionSuite2) TestUpdatePrivilege(c *C) {

_, err := tk1.Exec("update t2 set id = 666 where id = 1;")
c.Assert(err, NotNil)
c.Assert(strings.Contains(err.Error(), "privilege check fail"), IsTrue)
c.Assert(strings.Contains(err.Error(), "privilege check"), IsTrue)

// Cover a bug that t1 and t2 both require update privilege.
// In fact, the privlege check for t1 should be update, and for t2 should be select.
Expand Down