Commit Graph

249 Commits

Author SHA1 Message Date
5352e7c65c ddl: use the Options to reorganize the NewDDL paramaters (#11966) 2019-09-02 10:09:44 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
1b998ce4f6 *: record index name in the slow log instead of index id (#11795) 2019-08-22 14:27:47 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
a4b9350605 domain: update the schema check outdate metric (#11134) 2019-07-09 14:34:32 +08:00
ea6b865c08 executor: fix a logical error which is introduced in a previous refactor (#11060) 2019-07-04 11:46:03 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
d23b894c69 ddl: Remove expired keys on PD (#10406) 2019-06-20 13:47:52 +08:00
2b611274e3 domain: load stats when stats lease is 0 (#10771) 2019-06-13 15:28:56 +08:00
fc73546694 domain: improve UT coverage to 80% (#10726) 2019-06-11 14:40:14 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
54e48948d4 *: add config item for bind info lease (#10725) 2019-06-05 17:22:33 +08:00
d3a750ca8f ddl, session: update logs (#10546) 2019-05-27 13:42:33 +08:00
d97e7d93c7 *: refine transaction retry error messages (#10466) 2019-05-15 17:51:07 +08:00
303f3c9040 domain: fix updating the self schema version and update log (#10324) 2019-05-06 10:43:34 +08:00
e90804f0a9 doamin: fix GetSnapshotInfoSchema using current TS (#10309) 2019-04-30 16:40:36 +08:00
cf0ca744a2 bindinfo: fix data race of parser in global handle (#10321) 2019-04-30 13:41:21 +08:00
7cc688c036 infoschema, domain, ddl: fix upper cased charset names (#10272) 2019-04-29 19:13:39 +08:00
cd10bca666 *: support select/ explain select using bind info (#10284) 2019-04-29 16:47:11 +08:00
2c35315a70 remove grpc_client monitor (#10216) 2019-04-22 16:04:40 +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
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
9fb2badf9c domain: fix log typos. (#10012) 2019-04-03 11:01:50 +08:00
b2bce4bde7 domain: add uint tests for global_vars_cache (#9919) 2019-04-02 18:27:59 +08:00
83ff58cd91 domain: make schema validator test more stable and fix planner test leak (#9904) 2019-03-27 16:12:57 +08:00
c451f00814 *: fix utf8 charset upgrade compatibility (#9820) 2019-03-25 18:06:32 +08:00
1154456af7 domain,owner: unify and normalize the format of the log (#9646) 2019-03-25 15:50:15 +08:00
655833380e domain: make leaktest happy (#9849) 2019-03-23 10:10:30 +08:00
637347ef07 domain: remove the MockFailure (#9758) 2019-03-19 13:15:36 +08:00
20463d6da9 domain: make schema validator test more stable. (#9520) 2019-03-15 17:35:55 +08:00
06183393ed *: create sql bind table during bootstrap (#9008) 2019-03-15 14:37:37 +08:00
e3983227b4 log: generate digest and log it in slow log (#9662) 2019-03-14 13:45:32 +08:00
108c3d2070 domain, store/tikv: enable etcd client auto sync (#9575) 2019-03-07 14:20:17 +08:00
f1c6e94d01 domain: make tests stable (#9410) 2019-02-22 12:56:48 +08:00
c3f64b2629 *: tiny update for the whitelist plugin (#9271) 2019-02-12 15:54:45 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
fe8e3f9b44 domain: change "reload privilege success" to DEBUG level (#9237) 2019-02-02 18:56:11 +08:00
35fce9397a stats: log auto analyze fail reason (#9178) 2019-01-25 19:44:48 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
cb43fc9516 domain: fix stats worker cannot recover from panic (#9072) 2019-01-15 20:22:58 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
3b40b14dc3 infoschema: move perfschema to infoschema directory, tiny refactor (#8982) 2019-01-10 13:58:32 +08:00
8e4d18a7ec domain: run FLUSH PRIVILEGES synchronous on GRANT (#8886)
MySQL compatible behavior.
2018-12-31 07:05:26 -07:00
0c8e967858 *: provide virtual table facilities (#8657) 2018-12-26 21:15:37 +08:00
3040788655 *: make errcheck work again (#8795) 2018-12-25 17:16:52 +08:00