8a4b60c682
executor, privileges: fix privilege check fail for CREATE USER and DROP USER ( #11589 )
2019-08-19 19:08:17 +08:00
c00d8a95cf
executor, privilege: fix some two bug of RBAC ( #11273 )
2019-07-22 13:08:03 +08:00
9385c6eca0
executor: fix a bug of 'insert on duplicate update' statement on partitioned table ( #11204 )
...
In this statement: insert into t1 set a=1,b=1 on duplicate key update a=1,b=1
Batch checker find a=1,b=1 is duplicated, then in the "on duplicate update" step,
it uses the non-partitioned table to get the old row, which is a bug.
getOldRow returns this error: (1105, u'can not be duplicated row, due to old row not found. handle 1 not found')
2019-07-11 15:24:27 +08:00
5886bb90d1
executor: let flush privileges do nothing when skip-grant-table is configured ( #10986 )
...
When skip-grant-table is enabled, privilege handle is not initialized, calling flush privileges
would meet nil pointer panic
2019-07-02 10:44:30 +08:00
0d563f1e2d
stats: fix unstable test ( #10953 )
2019-06-27 13:51:16 +08:00
2b611274e3
domain: load stats when stats lease is 0 ( #10771 )
2019-06-13 15:28:56 +08:00
71def9c726
executor: improve UT coverage of executor package ( #10728 )
2019-06-11 10:01:43 +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
3439e6be48
executor: add warning for "drop user if exists" ( #10395 )
2019-05-22 16:53:19 +08:00
abeddab5ba
privilege, executor: support SET DEFAULT ROLE ( #9949 )
2019-04-17 14:25:49 +08:00
4f20b5b9f4
executor, plan: add revoke role support ( #9771 )
2019-04-11 15:34:29 +08:00
c612252667
executor, planner: add executor to support GRANT ROLE ( #9721 )
2019-03-30 20:18:47 +08:00
d4bad4ebb3
executor: add DROP ROLE support ( #9616 )
2019-03-13 15:01:38 +08:00
32cfaf1dcc
builder: use empty db should return NoDB error ( #8908 )
2019-01-03 13:39:36 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
7a88c33a67
executor,planner: Improve SET PASSWORD ( #8426 )
2018-11-26 22:19:51 +08:00
ce6a7150b3
executor: Support NO_AUTO_CREATE_USER sql mode ( #8160 )
2018-11-12 13:45:37 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
508a83607a
Changed FTWRL to produce error ( #7712 )
2018-10-12 10:04:22 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
6e7d75299d
test: refine test ( #7414 )
2018-08-16 17:05:59 +08:00
f18176f806
util/testkit: make the msg of failed check more readable ( #7386 )
2018-08-15 09:24:58 +08:00
3f574d97c9
stats: refactor stats update mechanism ( #6901 )
2018-07-06 11:22:11 +08:00
a54ab4270c
executor: gather all the error definitions together ( #6772 )
2018-06-07 10:58:03 +08:00
7227db3a0c
executor: fix drop user bug ( #6624 )
2018-06-06 17:13:28 +08:00
cd15501cf9
privilege: clean up privilege.Enable variable ( #6427 )
2018-04-28 07:13:23 -05:00
905eda7ff5
stats: fix row estimation for pseudo unique key ( #6199 )
2018-04-02 20:27:58 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
928582c720
executor,ast: check password format for 'create user identified by password XXX' ( #5948 )
...
'create user xxx identified by yyy', yyy can be any text
'create user xxx identified by password yyy', yyy must be a hash string generated by
password(), it begin with * and has length 41
2018-03-05 21:30:54 -06: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
fdd0e6d78b
stats, executor: fix drop stats not working ( #5739 )
2018-01-30 11:19:04 +08:00
f49413ec86
executor: show warning for kill pid statement ( #5210 )
2017-11-29 13:07:37 +08:00
ae9d7f5dab
*: set session variable MaxChunkSize to 2 for test ( #5238 )
2017-11-28 13:48:36 +08:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
0977fd07e6
*: begin opentracing from dispatch() and change interface to Execute(ctx, sql) ( #5027 )
2017-11-07 02:52:15 -06:00
6f9457e373
executor: use tearDownTest instead of defer ( #4499 )
2017-09-12 01:02:41 -05:00
a88ebb1cf6
*: use structure to store user identity ( #4078 )
...
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
467a01a2d0
*: support drop stats ( #3615 )
...
* plan, executor: support drop stats
* ast: add comment
* address comment
* address comment
2017-07-05 17:01:36 +08:00
b4f20e6f0b
util/testkit: refine testkit ( #3177 )
2017-04-29 23:20:49 +08:00
654c10fd80
*: use etcd for privilege update notification ( #3030 )
2017-04-11 19:47:25 +08:00
4fd95363b2
*: flush privileges statement ( #2602 )
2017-02-13 13:17:54 +08:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00