Commit Graph

218 Commits

Author SHA1 Message Date
86a6694de0 bindInfo: fix datarace on bindings (#40846)
close pingcap/tidb#40843
2023-01-30 19:59:55 +08:00
cbe228fe50 hint: fix the problem that set var hint is invalid when create binding (#40569)
close pingcap/tidb#40570
2023-01-13 18:29:47 +08:00
08f23ef9fe planner: support set binding status by sql digest (#39517)
ref pingcap/tidb#39199
2022-12-21 17:28:54 +08:00
509fe6d54a planner: binding from cluster statements summary (#39737)
ref pingcap/tidb#39199
2022-12-13 18:52:52 +08:00
2ca37cb156 planner: throw error when create not supported binding from history (#39637)
ref pingcap/tidb#39199
2022-12-06 14:52:03 +08:00
62b4e44924 planner: fix create binding for prepare from history can't work (#39577)
ref pingcap/tidb#39199
2022-12-02 12:52:00 +08:00
ff89ef2028 planner: fill plan digest when create binding from existing plan (#39557)
ref #39199
2022-12-02 03:47:40 +08:00
202f72389a planner: support create binding from history (#39436)
ref pingcap/tidb#39199
2022-12-01 19:50:03 +08:00
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
c88fd23f90 planner: add sqlDigest and planDigest field when show bindings (#39156)
ref pingcap/tidb#39199
2022-11-30 00:04:00 +08:00
5b16086d98 session: remove useless parser object in SessionHandle of bindinfo package (#39439) 2022-11-29 11:03:59 +08:00
4019c2a642 bindinfo: fix the timer leak bug. (#39403) 2022-11-27 18:37:59 +08:00
80c8fea9ec planner: update some UTs from cost model1 to model2 (#39085)
ref pingcap/tidb#35240
2022-11-11 17:07:53 +08:00
3bbffdf7ac planner: update some UTs from cost model1 to model2 (#39065)
ref pingcap/tidb#35240
2022-11-11 13:51:53 +08:00
2ec3e91709 executor,bindinfo: set number of rows affected for drop global binding (#32087)
close pingcap/tidb#32086
2022-11-09 16:03:51 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18:00 +08:00
ef95612e84 *: extend the semantic of mem-quota-query to mem-quota-session (#38423)
close pingcap/tidb#38429
2022-11-02 10:45:59 +08:00
4394a2a8f1 bazel: update config and enable race for part test (#38434) 2022-10-13 11:15:51 +08:00
99247f419d domain: fix data race in the Domain.bindHandle (#38223)
close pingcap/tidb#38062
2022-09-29 11:11:45 +08:00
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +08:00
df8226339f parser, planner: add query block level no_decorrelate hint (#37633)
close pingcap/tidb#37789
2022-09-20 14:57:04 +08:00
1eeedacc60 *: remove goleak's ignoring opencensus top function (#37908) 2022-09-19 12:29:00 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
42b6883057 planner: allow requesting MPP task for simple selection or projection operator (#37422)
close pingcap/tidb#35875
2022-08-30 10:42:23 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
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