Commit Graph

51 Commits

Author SHA1 Message Date
1dac78fd92 crossks: add info schema coordinator (#62712)
ref pingcap/tidb#61702
2025-08-04 11:40:18 +00:00
bb89e7ab57 br: add global variable to control checkpoint lag limit (#62680)
close pingcap/tidb#62679
2025-08-01 10:52:29 +00:00
102ffeccba mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg (#62671)
ref pingcap/tidb#61702
2025-07-29 12:55:28 +00:00
cfe9c12c9a bootstrap: use reserved ID for system schemas/tables in nextgen (#62570)
ref pingcap/tidb#61702
2025-07-24 18:46:25 +00:00
cdef1a3f17 meta/ddl: refactor ddl related sys table creation (#62301)
ref pingcap/tidb#61702
2025-07-14 10:44:57 +00:00
95b5aa9940 tables: force to lock the touched index in DML when DDL merging temp index (#62387)
close pingcap/tidb#62337
2025-07-14 09:30:01 +00:00
cc70f143da domain: decouple info schema syncer (#61794)
ref pingcap/tidb#61702
2025-06-19 11:48:54 +00:00
f96cb1fe03 session, processinfo: fix process info for stale read (#61329)
close pingcap/tidb#61325
2025-05-28 08:11:28 +00:00
6a4e8cfcd0 variable: tidb_enable_ts_validation (#60548)
close pingcap/tidb#60547
2025-05-22 10:42:38 +00:00
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +00:00
84492a9a1e util: reset parser before putting into parser pool (#60269)
close pingcap/tidb#60266
2025-03-26 16:47:44 +00:00
0c99ccb269 session: track LastCommitTS in SessionVars and check timestamps of later txns are larger (#57305)
close pingcap/tidb#57165
2025-02-13 05:11:58 +00:00
dd9c4b1d92 *: remove the variable txn_scope (#58839)
ref pingcap/tidb#58838
2025-02-10 11:20:46 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
eb9b085d0d *: bump client-go to adopt some optimizations (#59007)
ref pingcap/tidb#54047
2025-01-17 14:32:34 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
6aac3e82d7 *: add context.Context to ensureActiveUser() (#57351)
ref pingcap/tidb#55563
2024-12-02 12:54:11 +00:00
e234164d7c *: bump client-go with some regression tests (#57282)
ref pingcap/tidb#55287, close pingcap/tidb#56837, ref pingcap/tidb#57338, close pingcap/tidb#57425
2024-11-20 12:32:23 +00:00
5450000d92 executor, session: fix ExecStmt.OriginText to use the actual original text (#57393)
close pingcap/tidb#57396
2024-11-20 04:03:26 +00:00
ef8cac26c7 session: defer general log after query is executed to make sure txnStartTS is set (#56731)
close pingcap/tidb#57256
2024-11-15 17:52:29 +00:00
599977b1d6 *: bump client-go to fix correctness issue of membuffer snapshot read (#55547)
close pingcap/tidb#54929
2024-08-23 08:52:43 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
9fee330077 store/copr: partly revert pr/35975, do it correctly this time (#55196)
close pingcap/tidb#54969
2024-08-06 05:39:38 +00:00
8f98b4eba3 ddl: decouple executor part out from ddl (#54858)
ref pingcap/tidb#54436
2024-07-24 13:45:05 +00:00
a7865a68a5 session: bind extensions to bootstrap session (#54670)
close pingcap/tidb#54671
2024-07-22 17:45:03 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
91a165b841 executor: optimize ResetContextOfStmt (#54063)
ref pingcap/tidb#54047
2024-07-03 03:49:27 +00:00
9906339471 planner: fix the issue that statement-level hints in sub-queries of Insert/Replace can not take effect (#54083)
close pingcap/tidb#53834
2024-06-18 11:02:47 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
13bff87d08 variable: unifiy MaxExecuteTime usage and fix some problem (#50915)
close pingcap/tidb#50872, close pingcap/tidb#50914
2024-03-04 10:24:34 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
0250675b0b txn: deprecate the transaction auto retry and related statement count limit (#50782)
ref pingcap/tidb#50350
2024-01-30 08:10:59 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
799a46107e planner: move more hint code to the hint package (#50728)
ref pingcap/tidb#48875
2024-01-25 15:09:21 +00:00
205b5bbd21 variable: fix information_schema.VARIABLES_INFO DEFAULT_VALUE not right problem (#49524)
close pingcap/tidb#49461, close pingcap/tidb#49968, close pingcap/tidb#50155
2024-01-11 10:52:55 +00:00
6eea739d4c testkit,store/mockstore: make store image to accelerate unit test (#42521)
close pingcap/tidb#42434
2024-01-05 09:05:41 +00:00
7a8d82eddb *: remove duplicate prefix for last query info (#50075)
ref pingcap/tidb#49318
2024-01-04 08:15:34 +00:00
33480e8c8d *: add last ru consumption for tidb_last_query_info (#49769)
ref pingcap/tidb#49318
2024-01-03 06:05:15 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
b01658914e *: fix goleak in the client-go (#49046)
close pingcap/tidb#49038
2023-11-30 10:57:11 +00:00
66f3a25442 session: move some test into new package (#48784)
ref pingcap/tidb#44940
2023-11-22 09:42:12 +00:00
ab354f3e5c tests: move more tests to integration test (#48647)
ref pingcap/tidb#45961
2023-11-17 03:42:47 +00:00
9d6d6fd3da session: fix select for update statement can't get stmt-count-limit error (#48412)
close pingcap/tidb#48411
2023-11-09 07:29:12 +00:00
a2edc738de *: move sqlescaping from pkg/util/sqlexec to pkg/util/sqlescape (#48061)
close pingcap/tidb#48055
2023-10-31 01:45:36 +00:00
6d64b7e89a types, stmtctx, *: use ZeroDate, ZeroInDate and InvalidDate related flags to replace variable in statement context (#47794)
close pingcap/tidb#47507, close pingcap/tidb#47508
2023-10-27 10:44:05 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +00:00
d0a5bc5bc1 tests: fix some test cases in real TiKV env (#47697)
ref pingcap/tidb#45961
2023-10-17 08:11:00 +00:00