Commit Graph

156 Commits

Author SHA1 Message Date
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
83aeca4e36 *: fix length of all show stmt (#4589) 2017-09-22 14:29:32 +08:00
7adcc568e1 executor,mysql: fix #4540, Navicat for MySQL compability of show create table (#4544) 2017-09-18 20:26:57 +08:00
f3ea1a9fff server: quote query string (#4529)
In case binary data is sent for execute prepared statement.

Fixes https://github.com/pingcap/tidb/issues/2747
2017-09-15 17:37:14 +08:00
117ff28207 *: move InitLogger from SetUpSuite to TestT (#4532) 2017-09-15 15:16:22 +08:00
97242d362a config: add config file support. (#4509) 2017-09-14 19:38:49 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
06001ed1c1 fix race test compile issue (#4461) 2017-09-07 15:37:34 +08:00
31a48f8d75 server: SSL/TLS support (#3716) 2017-09-07 13:36:28 +08:00
778b221d2e Support client specified collation (#4409) 2017-09-05 10:08:30 +08:00
6ee6dd6c84 server: minor log info corrections (#4319) 2017-08-27 20:05:54 +08:00
971d8fa2de server: Refactor server tests (#4207) 2017-08-24 10:21:44 +08:00
ff34a46446 store/tikv: implement MVCCStore interface using leveldb backend (#3970) 2017-08-22 03:48:42 -05:00
38908aeb1e protocol: add the framework of x protocol, and cmdline arguments. (#3618) 2017-08-22 14:53:17 +08:00
f5fd467f46 *: change terror.ErrorEqual to Error.Equal, which is more effetive (#4217) 2017-08-17 20:06:48 +08:00
365e4ab491 conn: Send auth plugin name (#4177) 2017-08-16 21:24:00 +08:00
4cc39c3258 server: disable mysql.ClientMultiStatements capability (#4143)
Disable it because this feature is rarely used and have potential bug for TiDB
2017-08-16 19:19:35 +08:00
1dc7bbe28b *: use FieldType.Decimal to control the decimal length of double values to be shown in client (#4191) 2017-08-15 23:39:59 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
e9785fda15 *: fix some error related issues (#4032) 2017-08-06 00:17:08 +08:00
43c4b1f2ad server: add a tcp keep alive start up option (#3995) 2017-08-03 10:01:37 +08:00
c27747649c server: make show processlist doesn't include killed session (#3978) 2017-08-01 22:07:45 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00