Commit Graph

5419 Commits

Author SHA1 Message Date
08f23ef9fe planner: support set binding status by sql digest (#39517)
ref pingcap/tidb#39199
2022-12-21 17:28:54 +08:00
2150c6b3a1 executor: close recordset again (#40073) 2022-12-21 15:52:55 +08:00
fdf335e3e5 *: make auto-analyze killable by global memory limit (#39978)
ref pingcap/tidb#39971, close pingcap/tidb#39994
2022-12-20 21:56:55 +08:00
6ab38033b8 oomtest: add whitelist for oom test to fix flaky test (#40055)
close pingcap/tidb#40054
2022-12-20 17:38:55 +08:00
4a72171ffb *: Fix issue 39999, used wrong column id list for checking partitions (#40003)
close pingcap/tidb#39999
2022-12-20 16:44:54 +08:00
9f4dd8039b planner: fix the issue that NonPrep Cache cannot work with Explain well (#40044)
close pingcap/tidb#40039
2022-12-20 13:50:54 +08:00
3edde02708 executor: fix unstable TestMaxPreparedStmtCount (#40024)
ref pingcap/tidb#39735
2022-12-19 15:12:54 +08:00
47f54603fa executor: close recordset again (#40010) 2022-12-19 11:40:54 +08:00
97a9e63d78 sessionctx, executor: fix failure of reading MaxPreparedStmtCount (#39736)
close pingcap/tidb#39735
2022-12-15 19:14:53 +08:00
3aba336048 domain: Support plan replayer continus capture (#39926) 2022-12-15 16:34:52 +08:00
c26a6b5297 *: lock row keys during merging back from temp index (#39936)
close pingcap/tidb#39929
2022-12-14 23:38:53 +08:00
bb50e33509 expression: support member of function (#39880)
ref pingcap/tidb#39866
2022-12-14 17:16:52 +08:00
388e008846 statistics: add source column for stats_meta_hisotry table (#39835) 2022-12-14 14:38:52 +08:00
1e7c552944 executor, planner: InitLogger before CreateMockStore in tests to avoid data race (#39900)
close pingcap/tidb#39892
2022-12-14 13:36:51 +08:00
b41be060b9 expression: support json_overlaps function (#39867)
ref pingcap/tidb#39866
2022-12-14 12:48:52 +08:00
1e7c6ddbe6 SlowLog: Update Wait_TS field in slow log for every sql (#39843)
close pingcap/tidb#39713
2022-12-14 00:08:52 +08:00
4b3a4424e1 domain: support dump sql meta in plan replayer (#39863)
close pingcap/tidb#39883
2022-12-13 23:22:51 +08:00
509fe6d54a planner: binding from cluster statements summary (#39737)
ref pingcap/tidb#39199
2022-12-13 18:52:52 +08:00
1ab88f2cf9 planner: rename 'tidb_enable_general_plan_cache' and 'tidb_general_plan_cache_size' to 'tidb_enable_non_prepared_plan_cache' and 'tidb_non_prepared_plan_cache_size' 2022-12-13 18:16:35 +08:00
aeceb22fa6 planner: rename general plan cache to non-prepared plan cache (#39873) 2022-12-13 17:16:13 +08:00
760dbe102d statistics: support gc outdated historical stats (#39788) 2022-12-13 16:40:52 +08:00
b7e21a0dc4 *: fix slow query nil pointer panic when get session for TTL (#39865)
close pingcap/tidb#39864
2022-12-13 15:16:52 +08:00
621115bf67 ttl, variables: add system variables for ttl job schedule (#39727)
close pingcap/tidb#39725
2022-12-13 14:28:51 +08:00
c3329792e6 ttl: ouput TTL comment format when show create table (#39853)
close pingcap/tidb#39852
2022-12-13 12:56:52 +08:00
Bin
33e5baade9 fix: update ioutil.readall (#39850) 2022-12-13 10:24:51 +08:00
3183582106 parser: add cast to array and member of support (#39820)
close pingcap/tidb#39821
2022-12-12 21:28:51 +08:00
9488ca9db6 *: Add backfill job related tables and operations (#39616)
close pingcap/tidb#37122
2022-12-12 14:34:51 +08:00
c13dfe3ad9 domain: fix data race in the MockInfoCacheAndLoadInfoSchema (#39802)
close pingcap/tidb#39801
2022-12-12 11:24:51 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
d176b38cce testkit: set GOMAXPROCS in test (#39766) 2022-12-09 19:09:42 +08:00
c19adffe7a executor: fix issue of execute prepared DML panic with foreign key cascade (#39734)
close pingcap/tidb#39732
2022-12-09 12:06:04 +08:00
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
631f32d2d5 executor: support plan replayer capture <sql> <*> (#39754) 2022-12-08 21:02:05 +08:00
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
c65a93a62f planner: check error when building INLJ executor (#39756)
close pingcap/tidb#39724
2022-12-08 15:10:04 +08:00
5348bb3469 oomtest: add filter to avoid flaky test in the oomCapture (#39728)
ref pingcap/tidb#39225, ref pingcap/tidb#39226, close pingcap/tidb#39434
2022-12-08 12:06:04 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
a743640e66 *: enable foreign_key_checks variable by default (#39695) 2022-12-07 17:14:11 +08:00
a0a16d7c27 domain: support plan replayer dump workers running in concurrency (#39347)
ref pingcap/tidb#38779
2022-12-07 13:38:03 +08:00
b33ff62413 *: enable tidb_enable_foreign_key variable default (#39677) 2022-12-07 13:01:55 +08:00
dc6d9a0111 util, executor: fix the problem that GetDatumWithBuffer does set null (#39675)
close pingcap/tidb#39618
2022-12-06 19:24:03 +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
46ee6af971 executor: fix data race in the slowQueryRuntimeStats (#39630)
close pingcap/tidb#39631
2022-12-06 12:20:02 +08:00
5127ad25b5 statistics: add historical stats testcase (#39612) 2022-12-05 20:06:06 +08:00
a7c4c71287 ttl: add system table for TTL status (#39315)
close pingcap/tidb#39272
2022-12-05 15:44:03 +08:00
d5885e5b60 *: simple code for readProjection (#39600) 2022-12-05 11:58:02 +08:00
d045b41d87 ttl,ddl: disable ttl for fk and temp table (#39581)
close pingcap/tidb#39351, close pingcap/tidb#39364
2022-12-02 18:22:01 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
4d11314bd6 plan: refine build plan and skip privilege check for foreign key cascade (#39508)
close pingcap/tidb#39529
2022-12-02 11:02:00 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00