582d18a6b0
executor: fix revoke result view bug ( #38552 )
...
close pingcap/tidb#38421
2022-10-28 17:11:58 +08:00
8c9f5cfb0c
executor: cleanup entries from mysql.db on revoke ( #38370 )
...
close pingcap/tidb#38363
2022-10-11 14:51:50 +08:00
65e0b8e541
client: KV requests with source label ( #34833 )
...
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
2258bc54c4
txn: Add EnterNewTxn and OnStmtStart methods to TxnManager ( #34263 )
...
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
8f7ed14050
executor: fix drop role not work as expected in the show result. ( #29667 )
2021-11-15 09:41:06 +08:00
555907823d
executor: support GRANT/REVOKE ON non-existent table ( #28882 )
2021-10-19 11:40:42 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
e52dbd6b7d
domain, executor: make flush privilege propagate via etcd ( #27958 )
2021-09-30 13:34:47 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
ac670dd033
executor, privilege: fix show grants ( #26680 )
2021-08-05 11:49:13 +08:00
2b192e3149
topsql: refine collect information for DDL and internal SQL ( #26047 )
2021-07-15 16:13:36 +08:00
9cf25b6c24
executor: check privilege before adding ( #23519 )
2021-07-01 10:09:26 +08:00
7f4f5c0236
*: Change dynamic privileges to non-experimental ( #24914 )
2021-05-28 23:29:36 +08:00
e40f8c0881
*: fix revoke statement for CURRENT_USER() and refine error message ( #24052 )
...
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
90d02b2eed
*: add support for dynamic privileges ( #22778 )
2021-04-01 00:17:24 +08:00
b226130926
session: fix linearizability for non-autocommit async-commit txn ( #22879 )
...
* fix linearizability for non-autocommit async-commit txntxn
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* add IsExplicit flag
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* set missing cases
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* remove redundant assignment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* revert go sum change
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* fmt
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* clarify comment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-24 13:32:48 +08:00
4172f473da
*: adapt new api for the executor package ( #22644 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-02-04 17:32:15 +08:00
8f0091ef17
privilege: fix atomic problem of GRANT and REVOKE ( #14219 )
2020-03-02 15:58:18 +08:00
073ab9b6a3
*: refactor RestrictedSQLExecutor ( #11904 )
2019-08-28 19:17:19 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
78881f6d2d
executor: execute some statement (create user grant etc) would commit current transaction automically ( #10707 )
2019-06-06 15:45:48 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
558e02dbce
executor: fix grant operation in ANSI_QUOTES sql mode ( #8561 )
2018-12-04 20:55:24 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
a507ff3547
executor: polish comment ( #6890 )
...
Improve documentation.
2018-06-25 11:23:33 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
f94e39b86f
executor: remove Next function for RevokeExec ( #6004 )
2018-03-16 09:31:37 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
13fc8fcd27
executor: support Chunk for RevokeExec ( #5458 )
...
* executor: support Chunk for RevokeExec
* fix build
2017-12-21 10:32:48 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
a88ebb1cf6
*: use structure to store user identity ( #4078 )
...
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
c7c248eb91
executor: change struct row to []types.Datum ( #4072 )
2017-08-09 18:37:57 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
654c10fd80
*: use etcd for privilege update notification ( #3030 )
2017-04-11 19:47:25 +08:00
f7c95f3f42
executor: grant statement allow pattern string in db and table name ( #2688 )
2017-02-22 22:59:18 +08:00
a2f2e3f40a
tidb,store/tikv: use special session to execute ExecRestrictedSQL ( #2687 )
2017-02-22 15:08:17 +08:00
16fa15d890
*: support revoke statement ( #2661 )
2017-02-21 22:05:50 +08:00