Commit Graph

66 Commits

Author SHA1 Message Date
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +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
e528b6819e server/tests/cursor: fix cursor fetch error flacky test (#50969)
close pingcap/tidb#47029
2024-02-04 14:35:42 +00:00
b7ce239330 *: force_init_stats doesn't block http api's startup (#50853)
close pingcap/tidb#50854
2024-02-02 08:25:56 +00:00
b8168164d0 server: split tests (#50860)
ref pingcap/tidb#44940
2024-02-01 04:06:24 +00:00
c76fe3ff97 plan replayer: fix cannot load bindings when the statement contains in (...) (#50762)
close pingcap/tidb#43192
2024-01-31 13:54:25 +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
c1cae24a87 table: simplify the interface table.Index to reduce its context requirement (#50692)
close pingcap/tidb#50691
2024-01-24 10:06:28 +00:00
c9362659e7 server: split cursor test (#50683)
close pingcap/tidb#50682
2024-01-24 05:30:22 +00:00
9b860f87bb conn, util: make opentracing work again (#50551)
close pingcap/tidb#50508
2024-01-18 09:13:54 +00:00
a20cdf6f4c planner: clean BindRecord in the binding package (#50466)
ref pingcap/tidb#48875
2024-01-16 10:54:18 +00:00
3a3237ee49 planner: clean BindRecord in the binding package (#50423)
ref pingcap/tidb#48875
2024-01-15 11:34:45 +00:00
715fc0b866 *: remove TLS1.0, TLS1.1 support (#50348)
ref pingcap/tidb#36036
2024-01-15 04:16:18 +00:00
Z.H
d24ce81cb2 server: Skip checking sequence number of the sub header when compression protocol is active (#50092)
close pingcap/tidb#49845
2024-01-08 11:42:23 +00:00
9b0fd9ea29 *: renaming variables/structs to improve readability / decrease confusion (#49989)
close pingcap/tidb#49988
2024-01-06 02:58:51 +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
d11a559ae2 planner: remove useless binding code and add more test cases (#50098)
ref pingcap/tidb#48875
2024-01-05 02:47:03 +00:00
62c83d40fe bindinfo: extract the table hint from the union statement (#50070)
close pingcap/tidb#50068
2024-01-04 14:00:34 +00:00
4f38f2913b server: fix decode issue for prefetch point plan index keys (#50037)
close pingcap/tidb#50012
2024-01-03 12:59:02 +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
cf659a3efe server: improve dump.Uintxx implementation (#49837)
close pingcap/tidb#44970
2023-12-27 11:42:28 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
7c5058a789 refactor server pkg's warning and note generation (#49714)
Signed-off-by: AilinKid <314806019@qq.com>
2023-12-22 17:53:15 +08:00
e3fdbbfc17 store/gcworker: remove green gc (#49333)
close pingcap/tidb#49330
2023-12-22 06:18:24 +00:00
b27587e9b6 session: add resource group name in stmt context (#49422)
close pingcap/tidb#49318
2023-12-21 02:58:54 +00:00
9fad344aac txn: make load data transactional (#49079)
ref pingcap/tidb#49078
2023-12-18 07:43:53 +00:00
f5323284b1 planner: support creating universal bindings (#49426)
ref pingcap/tidb#48875
2023-12-14 09:40:50 +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
4eada20dcc *: add unnecessary untracked files to .gitignore and clean up them (#49314)
close pingcap/tidb#49070
2023-12-11 07:22:54 +00:00
e8d7b395a6 errctx, types, sessionctx: avoid memory allocation in HandleError and reduce allocation in creation of statement context (#49280)
close pingcap/tidb#49277
2023-12-11 04:01:48 +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
83f9209925 server: add test to keep clientConn from memory leak (#49243)
close pingcap/tidb#49242
2023-12-07 04:58:20 +00:00
7c3746685d server: register compression statistics and fix the memory leak (#49193)
close pingcap/tidb#49190
2023-12-05 10:35:49 +00:00
a6c60424c9 test: remove test files (extract and replayer) after running tests (#49132)
close pingcap/tidb#49127
2023-12-05 04:44:49 +00:00
6492800b9c *: Support idle transaction timeout (#48714)
close pingcap/tidb#48712
2023-12-05 04:01:19 +00:00
43825796a6 server: make clientConn() thread-safe (#49073)
ref pingcap/tidb#48224
2023-12-02 02:07:20 +00:00
330a5d5791 server: fix spell (#49095)
ref pingcap/tidb#44940
2023-12-01 10:09:05 +00:00
29e36ea7e3 store/mockstore: Use Expression.Eval to replace EvalWithInnerCtx for mockstore (#48771)
close pingcap/tidb#48770
2023-11-24 15:46:13 +00:00
6ca9813e5d server: use failpoint rather than real error in test TestCursorFetchErrorInFetch (#48832)
close pingcap/tidb#47029
2023-11-23 13:49:14 +00:00
707f860527 util/rowcodec,tablecodec: remove stmtctx dependency from rowcodec and tablecodec (#48816)
close pingcap/tidb#48751
2023-11-23 10:19:13 +00:00
b8515ae354 session: move session interface into new package (#48792)
ref pingcap/tidb#44940
2023-11-23 05:28:11 +00:00
7e8de2f1c7 infosync: integrate PD HTTP client into the label manager (#48738)
ref pingcap/tidb#35319
2023-11-23 04:53:41 +00:00
3d176fcc2c util/codec,util/errctx,*: add error context, and use it to refactor util/codec (#48613)
close pingcap/tidb#48611
2023-11-20 13:53:40 +00:00
95759f44bd *: further adaptation to PD HTTP client (#48606)
ref pingcap/tidb#35319
2023-11-20 04:20:42 +00:00
1f7c1e02bc server,session: Add status vars for compression (#48152)
close pingcap/tidb#44473
2023-11-16 21:30:47 +00:00
db2e239496 types: remove param explicitTz from types.ParseTime (#48574)
close pingcap/tidb#48573
2023-11-15 08:08:17 +00:00
0f35b6f813 *: integrate PD HTTP client to the store helper (#48276)
ref pingcap/tidb#35319
2023-11-15 04:47:16 +00:00