Commit Graph

329 Commits

Author SHA1 Message Date
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
45f00fe55a server: close result set for FieldList (#5650) 2018-01-16 15:01:12 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
e8f3828752 *: fix bug when init HTTP stats handler (#5555) 2018-01-04 15:10:01 +08:00
7c23a84a2c server, statistics: add dump_stats api for debug (#5534) 2018-01-03 14:47:56 +08:00
b3338a2eb3 server: graceful shutdown will wait clients to close (#5375) 2017-12-19 11:29:19 +08:00
0a8d91d896 server: in column info for "TypeBit", "Length" should not be multiplied by 4 (#5431)
* server: fix "Length" column info for TypeBit
2017-12-18 14:37:03 +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
6ee266d0ca executor: UpdateExec support NextChunk (#5372) 2017-12-14 15:32:06 +08:00
546b5a9418 *: support tls connection to pd and tikv (#5311) 2017-12-12 20:17:19 -06:00
6b3ac08b7d config: enable table split. (#5379) 2017-12-12 01:11:30 -06:00
2cdf05f4ab server: support http index mvcc interface (#5304) 2017-12-12 11:18:15 +08:00
28a4775170 store/tikv:fix bug in GetRegionByID (#5356) 2017-12-11 16:01:18 +08:00
a7b0a1f915 server,tidb: move cancel function from session to clientConn (#5346) 2017-12-09 15:27:58 +08:00
a2fb741191 *: Chunk add context parameter (#5348) 2017-12-09 11:23:40 +08:00
33db46ee37 server: provide table disk usage HTTP API for tidb-ctl (#5309) 2017-12-06 04:09:54 -06:00
6c68e41f73 store/tikv: use go fail for some tests. (#5280)
* store/tikv: use go fail for some tests.
2017-12-01 08:20:30 -08:00
8a5b8d54a5 server: schema info api of http status server (#5256) 2017-11-30 19:23:41 +08:00
09e5e7b74c config: add an option to disable chunk (#5268) 2017-11-30 13:20:52 +08:00
b19f879fbf server: fix the length metadata of decimal column returned to client (#5249)
* fix #5246
2017-11-28 18:48:06 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
b6e49c9bf9 Add PROXY protocol support (#3757) 2017-11-26 23:40:42 +08: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
a32b8dbcf6 *: use Chunk for TableReader. (#5142) 2017-11-21 10:08:50 +08:00
fec39cc888 server: support mvcc get hex key. (#5151)
Use `http://tidb-host:tidb-port/mvcc/hex/{hexKey}` to get the MVCC info of the full hex key.
2017-11-20 19:45:42 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
21a8020b32 *: ignore DDL statement for query duration metrics (#5093) 2017-11-14 14:42:55 +08:00
66c19def93 util/codec: support decode data to chunk. (#5066) 2017-11-13 18:34:22 +08:00
7144b7e0d7 server: make tokenLimit configurable (#4973) 2017-11-13 17:43:29 +08:00
ec9d1f0cc6 *: simplify RecordSet.Fields. (#5068) 2017-11-12 12:07:18 +08:00
8fd5c7de6e server: use types.Row to write result set. (#5056) 2017-11-10 15:41:02 +08:00
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
ad1c532ea5 *: remove unused package and functions (#5003)
* *: remove unused package and functions
2017-11-04 03:36:25 -05:00
0182bfd441 server: make auth test stable (#4999) 2017-11-03 23:32:26 +08:00
91196a2dae server: reduce "growslice" in "dumpRowValuesBinary" (#4916) 2017-11-02 13:08:36 +08:00
ce5a3d639c *: remove localstore dependency. (#4965)
* *: use mocktikv for some tests

* change privilege tests.

* remove localstore dependency.

* fix golint

* fix test leak

* fix go sql test.

* change test

* change test

* address comments
2017-11-02 11:04:27 +08:00
29153d7b20 *: opentracing for Execute,ParseSQL,Compile,runStmt (#4929) 2017-10-31 05:13:59 -05:00
37681cf435 *: opentracing for two phase commit (#4900) 2017-10-26 17:43:45 +08:00
7afae3f89c *: support write slow query log into seperate files (#4804) 2017-10-20 14:22:10 +08:00
51a6e6fc48 *: fix ineffectual assignments #4713 (#4746) 2017-10-11 21:26:03 -05:00
7d2804e43c *: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp (#4732) 2017-10-10 23:38:53 -05:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
e9ffb58a3b status: add new http status API for get meta regions. (#4597) 2017-10-09 22:00:49 -05:00
c2691114b4 *: check errors part 2 (#4704) 2017-10-09 12:46:45 +08:00
665f62929d *: make "unconvert" happy (#4700) 2017-09-30 15:53:01 +08:00
5200745d6a distsql,store/tikv: SelectDAG function parameter refactor (#4645)
* distsql,store/tikv: SelectDAG function parameter refactor

1. move some distsql.SelectDAG parameter to kv.Request struct
2. modify tikv.RPCContext struct, remove kvrpcpb.Context in it
3. let tikvrpc.Request struct share Context with its subcommand request
2017-09-27 12:33:05 +08:00