Commit Graph

66 Commits

Author SHA1 Message Date
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00
692693a1ff server, tidb-server: improve unix socket handling (#8836) 2019-01-09 09:51:26 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
29f14d4178 *: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' (#7965) 2018-11-09 16:32:21 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
48704b8420 *: fix Command and Time in show processlist (#7844) 2018-10-12 14:06:54 +08:00
05666f5ad3 session: set Sleep state for process info (#7826) 2018-10-08 12:38:55 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
4212e44c03 metrics: register the metrics when TiDB starting up (#7642) 2018-09-10 20:19:07 +08:00
0fa27a4619 *: fix tests failed on Go 1.11beta (#7178)
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
d2799801ae test: fix leak test (#6822)
make sure close dom/store in all test.
2018-06-12 17:14:22 +08:00
1a896a3b11 server: remove once.Do for HTTP server in tests (#6691) 2018-06-01 15:28:57 +08:00
65131a44a0 server: support binary time type (#6516) 2018-05-20 11:13:02 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +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
c981480094 executor: remove Next function for ShowExec (#5998) 2018-03-12 17:43:04 +08:00
c4a7242a1d executor: fix two bugs when enable chunk (#5945) 2018-03-06 22:00:45 +08: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
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
8069afd38c server: optimize com_field_list, make use database faster. (#5677) 2018-01-18 22:17:39 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +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
a32b8dbcf6 *: use Chunk for TableReader. (#5142) 2017-11-21 10:08:50 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
7144b7e0d7 server: make tokenLimit configurable (#4973) 2017-11-13 17:43:29 +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
0182bfd441 server: make auth test stable (#4999) 2017-11-03 23:32:26 +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
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
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
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
971d8fa2de server: Refactor server tests (#4207) 2017-08-24 10:21:44 +08:00
43c4b1f2ad server: add a tcp keep alive start up option (#3995) 2017-08-03 10:01:37 +08:00
53b27dd3ec tidb/config: Extract the configuration as a package and add two configurations for tidb (#3919)
add the ability to configure the slow query threshold and max log length
2017-07-28 17:01:22 +08:00
954ff094df server: escape database name "use xxx" in OpenCtx (#3713) 2017-07-11 19:36:58 +08:00
c8feff878f conn: fix database info leaking problem (#3699) 2017-07-11 17:39:35 +08:00
cfd2515a75 tidb-server: fix incorrect error message when auth failed (#3696) 2017-07-11 10:41:33 +08:00
58b003db74 server: close connection after sending ERR_Packet (#3678) 2017-07-10 20:49:10 +08:00
93083651ba http_test:wait until http is already started before http test. (#2888) 2017-03-20 13:44:47 +08:00
ce3f61c6b7 regions:fix bug for function not defined in make race (#2861) 2017-03-17 14:32:41 +08:00