Commit Graph

172 Commits

Author SHA1 Message Date
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
22418cd8c4 bindinfo: fix the comment typo (#30616) 2021-12-15 12:02:34 +08:00
2242f9c8bc parser: support multi bracket for subquery (#29656) 2021-12-02 18:15:54 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
cc524af1b2 planner: fix the unstable test TestGCBindRecord 2021-10-25 13:54:13 +08:00
958ab48fa0 *: set global temporary table as GA (#28525) 2021-10-14 11:27:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
b0b559f238 bindinfo: migrate test-infra to testify(staging-4) (#28469) 2021-10-01 11:36:47 +08:00
76267b21ae bindinfo: migrate testSerialSuite to testify (#28385) 2021-09-27 15:16:48 +08:00
87ac177f37 bindinfo: migrate test-infra to testify(staging-3) (#28260) 2021-09-27 08:38:46 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
75ac1edad0 bindinfo: fix affected row in drop sql binding so that we can avoid clear cache if affected rows is 0 (#27759) 2021-09-24 17:24:45 +08:00
ce3370fd65 bindinfo: migrate test-infra to testify(staging-2) (#28070) 2021-09-22 10:38:45 +08:00
b25a392113 bindinfo: migrate test-infra to testify(staging-1) (#27868) 2021-09-15 12:54:41 +08:00
33a6eee76b test: add variable character_set_connection into test session (#27943) 2021-09-14 11:22:42 +08:00
26653ec3e1 planner: enhance the extract table from update/insert/delete stmt in binding sql check (#27519) 2021-08-26 13:00:04 +08:00
79aab25fc2 expression: forbidden bind sql when subquery or union exists (#27347) 2021-08-21 12:12:02 +08:00