Commit Graph

192 Commits

Author SHA1 Message Date
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
11dbd0b881 *: update bazel config (#37313) 2022-08-23 17:40:20 +08:00
38c0d09f06 test,planner: only increase optimizeCnt for specified sql in test (#37094)
close pingcap/tidb#37059
2022-08-15 16:22:50 +08:00
257c78764d test: fix race for SetDDL by moving ddl inject earlier (#36964)
close pingcap/tidb#36940
2022-08-09 10:36:47 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
c7cfebb234 planner: add binding and recursive test for Merge hint (#36352)
close pingcap/tidb#17472
2022-07-20 23:43:09 +08:00
7953d60c1b *: switch to flat plan in stmt summary, slow log, etc (#36069)
ref pingcap/tidb#35888
2022-07-14 17:37:06 +08:00
b4cd14d713 planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
2022-07-14 15:49:05 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
ff20343fda sessionctx, bindinfo: Support encoding and decoding session SQL bindings (#35861)
close pingcap/tidb#35847
2022-07-01 17:22:39 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
1fac141f35 *: close the resource on error to aovid resource leak (#34837)
close pingcap/tidb#34666, ref pingcap/tidb#34849
2022-05-30 18:00:27 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
8a2966ce1e *: improve map copy (#34451)
close pingcap/tidb#34454
2022-05-09 11:44:33 +08:00
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
02de667042 testkit: add MockSessionManager (#34124)
ref pingcap/tidb#31716
2022-04-21 12:14:04 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
e110e73bf7 bindinfo: support disabled status for binding (#32819)
ref pingcap/tidb#32466
2022-03-16 15:45:52 +08:00
e87bb52a6a bindinfo: refactor some codes in bindinfo package (#33094) 2022-03-15 20:55:23 +08:00
00e96229c1 planner: add more test cases for auto-capture and support to capture more hints (#33051) 2022-03-15 20:01:51 +08:00
911cf5335f bindinfo: add warning message when the memory usage of the cache exceeds its capacity (#32866)
ref pingcap/tidb#32466
2022-03-15 16:15:52 +08:00
d79527b256 bindinfo: support 'show binding_cache status' (#32567)
ref pingcap/tidb#32466
2022-03-15 14:27:52 +08:00
bf3be20d76 planner: add more test cases for auto-capture (#32994)
ref pingcap/tidb#32466
2022-03-14 11:37:51 +08:00
4be9e30b0a bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
2022-03-07 17:21:49 +08:00
b497b49ea7 planner: support wildcards for auto-capture black-list (#32715)
close pingcap/tidb#32714
2022-03-07 13:13:48 +08:00
1a4bd06692 bindInfo: support the LRU for the bindCache (#32439)
ref pingcap/tidb#32466
2022-03-02 14:51:46 +08:00
816a0835db planner: support filter statements by users for SPM auto capture (#32460) 2022-02-23 15:37:40 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +08:00
cb8e65abcb bindinfo: fix inconsistent comments (#32223)
ref pingcap/tidb#32224
2022-02-10 12:37:36 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
bb3e90915d bindinfo: update lastUpdateTime with invalid bind (#31775)
close pingcap/tidb#31703
2022-01-22 01:29:46 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
a150267c8a optimizer: calculate digest only once for plan cache (#31479)
close pingcap/tidb#31269
2022-01-10 11:45:41 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
57b2908957 planner: improve the bindSQL check for plan cache (#31054) 2021-12-28 15:28:20 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00