Commit Graph

55 Commits

Author SHA1 Message Date
9b6db9d47a txn: fix the warnings in pipelined dml (#51867)
ref pingcap/tidb#50215
2024-03-19 05:35:14 +00:00
26e4988398 txn: check unsupported table types for Pipelined DML (#51839)
ref pingcap/tidb#50215
2024-03-18 03:59:19 +00:00
b3cb95db05 txn: save RPCs for Pipelined-DML (#51652)
close pingcap/tidb#51625
2024-03-16 11:59:11 +00:00
68c03cfb65 txn: enable pipelined dml by hint (#51770)
ref pingcap/tidb#50215
2024-03-15 08:59:11 +00:00
1bac1d4ccb txn: check MDL when starting and committing pipelined txns (#51794)
ref pingcap/tidb#50215
2024-03-15 05:41:18 +00:00
954592375d log: Support a dedicated log file to save general log (#51249)
ref pingcap/tidb#51248
2024-03-14 04:29:09 +00:00
97bb8d8416 txn: produce warnings when fallback from bulk mode (#51697)
ref pingcap/tidb#50215
2024-03-13 10:14:10 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +00:00
xhe
15947c1cf2 logutil: adapt new redact functions (#51642)
close pingcap/tidb#51310, close pingcap/tidb#51641
2024-03-12 09:06:39 +00:00
cbe52e6438 txn: introduce pipelined DML (#50389)
ref pingcap/tidb#50215
2024-03-08 10:12:37 +00:00
xhe
611dc83af6 *: migrate to the new parser redact function (#51590)
close pingcap/tidb#51588
2024-03-08 08:59:07 +00:00
xhe
38cc7bed7f session: migrate to the new redact function (#51561)
close pingcap/tidb#51557
2024-03-08 03:21:37 +00:00
7b6fc23617 util: use atomic.Pointer to replace with atomic.Value (#51559)
ref pingcap/tidb#44736
2024-03-07 03:36:42 +00:00
5e6cb1689e session: load variables before parsing SQL (#51466)
close pingcap/tidb#51387
2024-03-05 17:57:35 +00:00
e90df0c19d executor,distsql: refactor the base executor in tableReader (#51397)
close pingcap/tidb#51396
2024-02-29 13:48:32 +00:00
4182a418c8 *: save kv.Storage in import disttask components and use it (#51336)
ref pingcap/tidb#51337
2024-02-29 07:42:31 +00:00
61c903fa36 session,executor: get back the error stack information from a regression (#50857)
close pingcap/tidb#50849
2024-02-29 05:06:30 +00:00
f1410bf2a8 planner: seperate methods in PlanContext and EvalContext/BuildContext (#51382)
close pingcap/tidb#51381
2024-02-28 11:03:31 +00:00
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
fc36864a1f table: standalone implement for table.MutateContext and table.AllocatorContext (#51262)
close pingcap/tidb#51259
2024-02-23 07:21:27 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
4e202a4ff0 *: make sessionctx.Context depend on contexts in planner and expression (#51150)
close pingcap/tidb#51149
2024-02-19 11:04:56 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +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
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
6a87b80e2c sessionctx: fix data race of SessionVars.Status (#50729)
close pingcap/tidb#50715
2024-01-26 18:39:20 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
cf320b2096 session: fix update process info will data race with expensive-query check (#50696)
close pingcap/tidb#50607
2024-01-25 04:28:51 +00:00
e42d0bf4e5 *: support tidb_opt_use_invisible_indexes (#50654)
ref pingcap/tidb#50653
2024-01-25 03:51:22 +00:00
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
301d1d2048 statistics/handle/usage: modify the SessionIndexUsageCollector to implement new index usage design (#50050)
close pingcap/tidb#49835
2024-01-22 14:40:50 +00:00
35c0e8a5c3 *: refine mysql.tidb_mdl_view (#48728)
close pingcap/tidb#46933, close pingcap/tidb#47743, close pingcap/tidb#50149
2024-01-09 18:19:53 +00:00
6701bf1527 ddl: create table accelerate (#49687)
close pingcap/tidb#50052
2024-01-08 12:20:08 +00:00
c3346856e6 planner: avoid repeat normalization on the same query when matching binding for plan cache (#50133)
ref pingcap/tidb#48875
2024-01-05 09:58:51 +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
e80385270c metrics: add connection and fail metrics by resource group name (#49424)
ref pingcap/tidb#49318
2024-01-03 06:05:02 +00:00
37c7326c73 session: allow end aborted txn via binary protocal (#49384)
close pingcap/tidb#49151
2024-01-03 05:30:32 +00:00
3f4db1afa8 disttask: do not retry meta initialization if context done (#49881)
close pingcap/tidb#49753
2023-12-28 15:36:28 +00:00
cb7d2b7df7 session: fix wrong test logic of tidb_super_read_only (#49660)
close pingcap/tidb#49659
2023-12-23 14:45:25 +00:00
b27587e9b6 session: add resource group name in stmt context (#49422)
close pingcap/tidb#49318
2023-12-21 02:58:54 +00:00
1cfb3b9f71 session: reset CTEStorageMap before txn conflict and retry() (#49399)
close pingcap/tidb#46522
2023-12-13 19:28:49 +00:00
161107a712 executor: add ru details in slow log and INFORMATION_SCHEMA.SLOW_QUERY (#49067)
close pingcap/tidb#42892, ref pingcap/tidb#49318
2023-12-13 07:30:19 +00:00
d23e1c379a server,executor: split ResultSet Close() to Finish() and Close() (#49224)
close pingcap/tidb#48667
2023-12-08 12:06:17 +00:00
90e272abc3 planner: encapsulate binding operations behind 2 interfaces (#49261)
ref pingcap/tidb#48875
2023-12-08 02:25:23 +00:00
b8515ae354 session: move session interface into new package (#48792)
ref pingcap/tidb#44940
2023-11-23 05:28:11 +00:00
1f7c1e02bc server,session: Add status vars for compression (#48152)
close pingcap/tidb#44473
2023-11-16 21:30:47 +00:00
8ce2ad1696 parse: fix the type of date/time parameters (#48237)
close pingcap/tidb#45190
2023-11-09 10:42:42 +00:00
24c7f8c39b server,session: make sure ResultSet.Close() errors return to the client (#48447)
ref pingcap/tidb#48411, close pingcap/tidb#48446
2023-11-09 09:54:49 +00:00