Commit Graph

204 Commits

Author SHA1 Message Date
cbf7415873 *: add errcode for structure, tablecodec, admin files (#14054) 2019-12-16 12:07:02 +08:00
5da10ffecc *: refine some error code (#14002) 2019-12-12 11:09:58 +08:00
d43f980df6 mockstore: update pd (#14008) 2019-12-10 17:24:58 +08:00
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
bb51ebafad expression: rename RandWithSeed to RandWithSeedFirstGen (#14001)
Signed-off-by: andylokandy <andylokandy@hotmail.com>
2019-12-10 11:06:26 +08:00
78269d1bdd expression: rename some string expression functions (#13971) 2019-12-09 23:27:25 +08:00
d7206fb43b expression: use new metadata instead of implicit_args (#13962) 2019-12-09 13:51:40 +08:00
b743208fd7 bindinfo, planner: fix sql bind when sql has symbol list (#13889) 2019-12-07 14:26:08 +08:00
13400ee89a table, executor: extract two functions for ShowCreateTable/DB (#13907) 2019-12-05 10:47:52 +08:00
6dabaadb97 build: fix build fail (#13884) 2019-12-04 11:40:24 +08:00
dcbb5a162a table: format table error code and error message (#13233) 2019-12-03 19:59:39 +08:00
9bd7a6de90 *: support flashback dropped/truncated table (#13109) 2019-12-03 19:49:48 +08:00
a7d5b98306 *: Move StartTs from DAGRequest to Coprocessor.Request (#13823) 2019-12-03 17:13:12 +08:00
744c5c1d67 planner, executor: fix error code (#13733) 2019-12-03 13:14:49 +08:00
134b80cdf4 distsql: Unify endian for Chunk encode format (#13349) 2019-11-27 17:15:25 +08:00
80bbc900f9 infoschema: refactor GetClusterServerInfo to avoid executing internal SQL (#13765) 2019-11-27 14:31:56 +08:00
9fd3e92318 server: add rpcserver to get other tidb server info for diagnostics (#13693) 2019-11-26 17:46:19 +08:00
acfc7be794 infoschema: refine error code for package infoschema (#13646) 2019-11-26 10:21:43 +08:00
af2a2c5321 bindinfo: support bindings management (#13608) 2019-11-22 11:01:07 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
ee7d367b43 ddl: add a binlog when dropping column (#13536) 2019-11-20 11:14:13 +08:00
8401cbdeba store: update kvproto.CheckTxnStatus response (#13432) 2019-11-18 18:13:50 +08:00
ec95f91c13 util/profile: remove github.com/lonng/pprof replacement (#13318) 2019-11-14 16:21:06 +08:00
5886055b6b ddl: fix error code and error name (#13329) 2019-11-12 17:23:18 +08:00
6b9703bc5f expression: panic in test mode if builtin function's PbCode unspecified (#13334)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-12 15:31:12 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
79ff3ebe2d tidb-server: introduce go.uber.org/automaxprocs (#13340) 2019-11-11 17:26:30 +08:00
b3bf319b1e domain: refine error code for package domain (#13033) 2019-11-09 22:21:51 +08:00
f9be8ebf85 *: make log_level working for gotest (#13258) 2019-11-08 14:44:39 +08:00
d81c131ddb *: upgrade etcd to v3.4.3 (#13213)
* *: upgrade etcd to v3.4.3

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix benchkv build

Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-07 19:25:35 +08:00
60d4291c5d store: upgrade the CheckTxnStatus API (#13123)
CheckTxnStatus introduces a non-block read mode. In this mode, TiDB can ignore
the secondary lock TTL check and send the CheckTxnStatus request.
2019-11-07 19:09:13 +08:00
3696bc5097 infoschema: add TIDB_CLUSTER_CONFIG virtual table to retrieve all instance config (#13063) 2019-11-07 10:55:11 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00
27426daed4 *: make the version of etcd consistent with pd (#13176)
Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-06 12:08:03 +08:00
f12403ef08 executor: support select for update no wait (#12775) 2019-11-04 17:01:40 +08:00
6dfe2f2118 infoschema: add information_schema.tidb_cluster_info to retrieve cluster topology. (#13035) 2019-11-04 14:22:58 +08:00
4d1e8e4775 go.mod: update parser version in go.mod (#13058) 2019-10-31 18:57:35 +08:00
b80b417803 *: fix rolling_update_fail when using Arrow format. (#12899) 2019-10-31 14:16:23 +08:00
7b27cfb60f go.mod: use the latest parser to fix 'select timestampliteral(rand())' (#12995) 2019-10-30 20:07:17 +08:00
7fe81b7490 store: when commit get a CommitTsExpired error, retry with a new commitTS (#12980) 2019-10-30 17:23:23 +08:00
953c0a618a perfschema: support query cpu/memory/mutex/block/allocs/goroutines flamegraph by SQL (#12986)
Signed-off-by: Lonng <heng@lonng.org>
2019-10-30 07:50:02 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
44a5ffe8a0 planner: support database name in optimizer hint (#12932) 2019-10-25 19:45:18 +08:00
5bf03c8df4 executor: add SHUTDOWN command and privilege check (#12804) 2019-10-21 21:49:56 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00
57327d122c expression: add builtin function json_valid (#12596) 2019-10-15 11:48:51 +08:00
455b2d33e4 config: remove the log-rotate config (#12594)
log-rotate defaults to true and there is not way to turn off it.
provide it in the config file is misleading
2019-10-14 17:13:57 +08:00
99a4e602fb *: support split partition table region (#12213) 2019-10-14 15:40:45 +08:00
ebc122bb48 *: support where in admin show ddl jobs statement (#12484) 2019-10-11 10:47:13 +08:00
4c27856b9a *: add a flag EncodeType for response to use Arrow/Default format to decode. (#12536) 2019-10-09 20:50:37 +08:00