520785b149
*: fix possible race in stats update ( #3987 )
2017-08-03 20:54:15 +08: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
7d634a5486
*: fix a data race in privilege handle Update() ( #3389 )
...
privilege handle bind a ctx to call Update(), but it may be
called by multiple goroutines, so data race in that ctx.
change Update() to take a context parameter, avoid using the
same ctx to fix the race.
2017-06-07 11:30:11 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
654c10fd80
*: use etcd for privilege update notification ( #3030 )
2017-04-11 19:47:25 +08:00
a623e670e6
*: implement "kill tidb xxx" statement ( #2768 )
2017-03-08 13:32:22 +08:00
b2f8a6fceb
parser: parse kill statement ( #2734 )
2017-02-27 13:58:02 +08:00
a2f2e3f40a
tidb,store/tikv: use special session to execute ExecRestrictedSQL ( #2687 )
2017-02-22 15:08:17 +08:00
4fd95363b2
*: flush privileges statement ( #2602 )
2017-02-13 13:17:54 +08:00
f5fac14afb
util/sqlexec: introduce a SQLExecutor interface and use it ( #2618 )
...
This tiny change also fix a bug that privilege background session never commit
2017-02-09 16:44:15 +08:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00