Commit Graph

839 Commits

Author SHA1 Message Date
4cc6c6542f planner: create a separate unified function to update variables for statistics sctx (#47051)
ref pingcap/tidb#46905
2023-09-18 10:34:40 +00:00
32d0d6223a session: split TestInitializeSQLFile into four ones to speed up (#46968)
close pingcap/tidb#46832
2023-09-14 12:18:10 +00:00
1159bc8d88 *: add SESSION_ALIAS column in processlist table and expensive query log (#46890)
close pingcap/tidb#46889
2023-09-13 15:22:51 +00:00
d3d30f5f55 session: add debug log for parsing (#46638)
close pingcap/tidb#46637
2023-09-08 16:18:06 +00:00
b524a2316f client-go: attach request source with retry info for coprocessor (#46509)
close pingcap/tidb#46514
2023-09-02 11:24:42 +00:00
567acddde5 session, sessionctx: show restricted session variables in show session_states (#46569)
close pingcap/tidb#46216
2023-09-02 10:21:42 +00:00
d149379dc9 *: compatible upgrade with previous versions (#46276)
close pingcap/tidb#46275
2023-08-29 06:59:08 +00:00
6dd4a3ae76 *: add session alias field in slowlog, general log and extension framework (#46273)
close pingcap/tidb#46272
2023-08-23 10:59:04 +00:00
6078d999be session: set request source to type of the prepared stmt for execute stmt (#46348)
close pingcap/tidb#46349
2023-08-23 08:39:34 +00:00
dd593b2e03 session, sessionctx: consider the dependency of sysvars for session states (#46244)
close pingcap/tidb#46214
2023-08-22 08:30:34 +00:00
2abf83ddd5 *: remove feedback (#45969)
ref pingcap/tidb#46056
2023-08-21 11:03:34 +00:00
4fc7970f21 ddl, session: using table ID instead of partition ID when calling SplitRegions (#46156)
close pingcap/tidb#46135
2023-08-16 12:27:29 +00:00
f6be155071 ttl: fix some memory leak in TTL (#45512)
close pingcap/tidb#45510
2023-07-24 04:14:49 +00:00
63197ec90e session: add check resource group hint existence (#45296)
close pingcap/tidb#45178
2023-07-13 06:56:14 +00:00
3aa21d0937 *: label external the request source via sessionvar (#44770)
ref pingcap/tidb#44769
2023-07-11 04:21:42 +00:00
af04707eda *: fix data race in ProcessInfo (#45127)
close pingcap/tidb#45126
2023-07-05 07:38:22 +00:00
09bbf08d72 planner: update the syntax of drop hypo index (#44944)
close pingcap/tidb#43817
2023-06-26 09:08:35 +00:00
086cc20284 session,expression: Support IS_USED_LOCK function (#44495)
close pingcap/tidb#44493
2023-06-21 04:01:12 +00:00
b754f883cd metrics: add max query duration per resource group metrics (#44746)
ref pingcap/tidb#43691
2023-06-17 07:15:09 +00:00
adfb34b94e executor: impl runaway watch check (#44474)
ref pingcap/tidb#43691
2023-06-16 10:05:09 +00:00
3ca5d3d618 planner,txn: fix the bug that RESOURCE_GROUP() hint can not take effect for write … (#44513)
close pingcap/tidb#44512
2023-06-15 09:31:10 +00:00
bb68e2e8a9 session: fix the memory tracker leak in prepare binary protocol (#44618)
close pingcap/tidb#44612
2023-06-13 10:39:17 +00:00
1837efe528 resource_control: use const default resource group name (#44526)
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
d58e752fdc test: mock multiple servers running dist task and ddl (#44326)
ref pingcap/tidb#44399
2023-06-13 08:37:07 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
437157e720 *: fix cte miss cleaning spilled-disk file (#44501)
close pingcap/tidb#44477
2023-06-08 11:59:07 +00:00
1e98f86063 *: add expensive_txn log and metric for long-running transaction (#44248)
close pingcap/tidb#41471
2023-06-08 08:50:49 +00:00
3c50d5130b session, ddl: fix the nil point in TxnInfo (#44486)
close pingcap/tidb#43829
2023-06-08 04:49:41 +00:00
4714df8a83 executor: fix issue of can not get the TxnStart if the SQL has a non-related subquery (#44232)
close pingcap/tidb#40851
2023-05-29 09:10:41 +00:00
cd834eec65 import into: impl IMPORT INTO statement part 1 (#44122)
ref pingcap/tidb#42930
2023-05-25 05:45:38 +00:00
6e11eefcfc loaddata: don't split transaction and revert some change (#44136)
ref pingcap/tidb#44078
2023-05-25 03:43:38 +00:00
0ac7473ec9 loaddata: revert concurrent writing to TiKV and WITH detached (#44056)
ref pingcap/tidb#44078
2023-05-23 06:43:38 +00:00
acc8f88097 session: del NO_BACKSLASH_ESCAPES sql mode for internal sql (#43966)
close pingcap/tidb#43392
2023-05-19 03:49:36 +00:00
Hu#
0af1bd701e bind: fix global binding hint for resource groups (#43738)
ref pingcap/tidb#38825, close pingcap/tidb#43736
2023-05-12 12:42:22 +00:00
4314687305 *: Update bootstrap and support pause user DDL when upgrading TiDB (#43666)
close pingcap/tidb#43665
2023-05-10 17:07:21 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
7c5e7ea851 linter: enable revive for session (#43420)
ref pingcap/tidb#40786
2023-04-26 05:53:52 +00:00
a64b149fa2 ddl: set lossy DDL change source for column worker (#43232)
close pingcap/tidb#43227
2023-04-26 04:19:51 +00:00
2e9b692d83 session: add more log for internal sql when parse failed (#43282)
close pingcap/tidb#43283
2023-04-21 17:53:20 +08:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
b1e6fe72f3 planner: non-prep and prep statements use the same unified plan cache (#43094)
ref pingcap/tidb#36598
2023-04-17 22:51:26 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00
856648ace6 domain, session: print more MDL log and make MDL more stable (#42891)
close pingcap/tidb#42890
2023-04-10 20:17:00 +08:00
79dc5e028f session, domain: fix "tidb_global_task doesn't exist" error during bootstrap (#42896)
close pingcap/tidb#42767
2023-04-10 18:51:00 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
4675e4e169 planner: add more test cases for non-prep plan cache (#42801)
ref pingcap/tidb#36598
2023-04-04 19:28:57 +08:00
811974b7c0 session, sessionctx: ignore invalid session vars when migrating a session (#42696)
ref pingcap/tiproxy#255, close pingcap/tidb#42697
2023-03-30 13:00:54 +08:00
a1407b29fa loaddata: split functionalities to prepare concurrent load (#42565)
ref pingcap/tidb#40499
2023-03-28 23:20:55 +08:00
7442a66e4b planner: fix incompatibility issues between plan-cache and expr-blacklist (#42606)
ref pingcap/tidb#36598
2023-03-27 22:00:54 +08:00