33367fdd48
config,executor: provide a compatible-kill-query option in the config file ( #7192 )
...
When compatible-kill-query option is turned on, "kill xxx" command will not be
ignored, it works like "kill tidb xxx".
2018-07-30 23:53:47 +08:00
f9a5686f9b
executor: make set system variable log shorter ( #7029 )
2018-07-11 14:09:22 +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
93efc51b96
*: unify the connection ID format in log ( #6670 )
...
Makes tracing the events of a session easier.
2018-05-29 00:31:16 +08:00
d3a69d8b04
*: set rollback log to debug level ( #6653 )
2018-05-26 22:11:27 +08:00
4185e53006
tikv/txn: support local latch in transaction ( #6418 )
2018-05-07 10:57:01 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
96a51da57c
* Add conn ID to the transaction log ( #6115 )
2018-03-26 20:13:07 +08:00
11f41a3ef8
executor: remove Next function for SimpleExec ( #6001 )
2018-03-16 09:20:09 +08: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
47cbc0bfce
*: remove varsutil package, make Systems a private member of SessionVars ( #5544 )
2018-01-25 01:43:07 -06:00
5a555703c0
*: garbage collect useless stats info ( #5587 )
2018-01-11 17:10:30 +08:00
5c882361cd
executor: support Chunk for SimpleExec ( #5453 )
2017-12-21 11:04:16 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
713bc797bb
*: clear delta info when roll back transaction ( #5390 )
2017-12-13 15:35:07 +08:00
f49413ec86
executor: show warning for kill pid statement ( #5210 )
2017-11-29 13:07:37 +08:00
e440ac32f4
executor: notify TiDB update privilege after alter/drop user ( #5226 )
2017-11-26 21:45:24 -06:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06: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
35fe2cae42
ddl, statistics: resolve the package dependency. ( #4960 )
2017-10-31 17:13:30 +08:00
37681cf435
*: opentracing for two phase commit ( #4900 )
2017-10-26 17:43:45 +08:00
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05: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
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