Commit Graph

190 Commits

Author SHA1 Message Date
cf0ca744a2 bindinfo: fix data race of parser in global handle (#10321) 2019-04-30 13:41:21 +08:00
efe9b6ab2a planner/core: fix privilege check for update (#10281) 2019-04-30 13:06:54 +08:00
cd10bca666 *: support select/ explain select using bind info (#10284) 2019-04-29 16:47:11 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
6a578a8b57 statistics: Support store CMSketch with Top N (#10255) 2019-04-29 12:15:59 +08:00
d8149580bc session: add the transaction commit time to slow log (#10294) 2019-04-29 11:50:17 +08:00
f0303e46c0 *: support "add session binding" (#10247) 2019-04-25 10:59:02 +08:00
f9c82b531c plan: improve row count estimation using column order correlation (#9839) 2019-04-24 16:19:21 +08:00
6ba69f2aad plan, executor: pre with labels for metrics in conn/session (#10232) 2019-04-22 20:51:46 +08:00
27a56180bd *: replace gofail with the new failpoint implementation (#10184) 2019-04-22 13:30:14 +08:00
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00
63d720cbfd *: support create global binding (#9846) 2019-04-17 22:12:50 +08:00
abeddab5ba privilege, executor: support SET DEFAULT ROLE (#9949) 2019-04-17 14:25:49 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
5a34c4b9d2 server: only owner do bootstrap (#10029) 2019-04-11 11:04:34 +08:00
b1148e6c51 session: adjust session log (#10088)
Signed-off-by: Keyi Xie <xiekeyi98@gmail.com>
2019-04-10 14:33:11 +08:00
278c3e81b4 *: support EXPLAIN FOR CONNECTION (#10030) 2019-04-09 10:45:22 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
2e5f7a4d96 sessionctx: support fast analyze session control variable. (#10039) 2019-04-04 13:59:56 +08:00
b2bce4bde7 domain: add uint tests for global_vars_cache (#9919) 2019-04-02 18:27:59 +08:00
6125f49baf *: fix the read-only check for the prepare/execute statement (#9723) 2019-04-01 13:27:49 +08:00
628dff08b7 *: only disable retry for write conflict (#9827) 2019-03-29 14:36:07 +08:00
0313cbbbde plugin: add audit plugin extension point (#9136) 2019-03-25 15:18:34 +08:00
d5f0d2bfdd binlog: revert commit for variable tidb_log_bin && add send binlog strategy config (#9864) 2019-03-24 18:26:15 +08:00
4a5b3c2dfd session: use the uniform log format for session (#9517) 2019-03-21 19:28:16 +08:00
637347ef07 domain: remove the MockFailure (#9758) 2019-03-19 13:15:36 +08:00
06183393ed *: create sql bind table during bootstrap (#9008) 2019-03-15 14:37:37 +08:00
792429d330 binlog: update config for backward compatibility (#9688) 2019-03-14 16:53:16 +08:00
09beefbe04 session,executor: performance improvement in SetProcessInfo (#9681) 2019-03-13 17:24:39 +08:00
7d0b660a84 session: skip loading previlige when "skip-grant-table" is enabled (#9654) 2019-03-12 11:02:13 +08:00
0dada1ec37 binlog: update binlog enable config && add tidb_log_bin system variable (#9625) 2019-03-11 22:18:46 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
ddbf60f6d0 session: upgrade currentBootstrapVersion to 27 (#9496)
It should be upgraded to 27 in 45f9d6a00f4e08ae97d60a3348ce9a6fbe710987,
but it was lost when merging conflicts.
2019-02-27 19:38:27 +08:00
4449eb062a ddl: add ddl job error count limit, exceed the limit should cancel the ddl job (#9295) 2019-02-27 15:03:04 +08:00
45f9d6a00f statistics: compute and store column order correlation with handle (#9315) 2019-02-27 11:32:00 +08:00
c48ac8af18 session,privilege: fix account_locked default value for root (#9448) 2019-02-25 21:14:17 +08:00
0ee8899a6d session,privilege: upgrade TiDB, prepare data for RBAC (#9377)
RBAC(role based access control) needs the following data:
* Add account_locked column to mysql.user
* Add mysql.role_edges table
* Add mysql.default_roles table
* Add Create_role_priv and Drop_role_priv privilege
2019-02-22 18:00:01 +08:00
23e516aa56 fix gofail race (#9412) 2019-02-22 14:01:41 +08:00
18449d777a *: merge statement buffer when BatchGetValues (#9374) 2019-02-22 11:06:58 +08:00
84d1513b09 plugin: support flush tidb plugin {name} in tidb-server (#9320) 2019-02-18 13:48:43 +08:00
3e78ebcb4a add current DB name to general log (#9332) 2019-02-18 13:06:40 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
ba68605ce6 *: use less memory when many rows inserted in one transaction (#9272) 2019-02-13 11:39:46 +08:00
c3f64b2629 *: tiny update for the whitelist plugin (#9271) 2019-02-12 15:54:45 +08:00
640aa65113 *: add some tests for writing-data corner cases (#9199) 2019-02-11 10:20:17 +08:00
2ea6e1bff5 session,server: remove error for RollbackTxn (#9202) 2019-02-11 09:53:12 +08:00
36176be874 *: improve syntax error code & message compatibility (#9103) 2019-01-23 10:46:29 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00