Commit Graph

43 Commits

Author SHA1 Message Date
fb8c9c1329 executor: handle all responses correctly (#63849)
close pingcap/tidb#61273
2025-10-07 16:11:06 +00:00
09f1070a31 statistics: implement refresh stats command (#63748)
ref pingcap/tidb#61273
2025-10-01 14:58:25 +00:00
259852d340 *: add the new SEMv2 config and implement most of the functions (#61634)
close pingcap/tidb#61582, close pingcap/tidb#61583, close pingcap/tidb#61584, close pingcap/tidb#61585
2025-08-18 13:38:47 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
4af47650a3 planner, executor: implement support for broadcasting queries (#61380)
ref pingcap/tidb#61273
2025-06-06 11:12:22 +00:00
609805c5f9 executor, sqlexec: add a function to let DrainRecordSet also close the RecordSet (#61448)
close pingcap/tidb#61408
2025-06-03 07:20:29 +00:00
34afcbb9d3 executor: gopls modernize (#60787)
close pingcap/tidb#60786
2025-05-07 14:32:26 +00:00
4133e9e71a resource group: support remove query watch by group (#60193)
close pingcap/tidb#58468
2025-04-15 14:21:53 +00:00
d22abc8d8c privileges: user@'' is different with user@'%' (#60082)
close pingcap/tidb#33174
2025-03-17 03:12:54 +00:00
db15d4396b executor: 'alter user' requires 'CREATE USER' privilege in most cases (#59756)
close pingcap/tidb#59677
2025-02-26 08:30:52 +00:00
87f6c7b7e4 executor: introduce max_user_connections (#59197)
close pingcap/tidb#59203
2025-02-26 05:02:00 +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
32d11a87c5 statistics: fix the behavior of DROP STATS after #58596 (#59031)
ref pingcap/tidb#58181
2025-01-21 04:11:42 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
7063a6fce0 *: fix a bug for default_authentication_plugin (#57391)
ref pingcap/tidb#54138
2025-01-06 10:28:46 +00:00
c8ba4e3ace *: avoid some unnecessary call of ensureActiveUser() (#57388)
ref pingcap/tidb#55563
2024-12-17 03:33:42 +00:00
6aac3e82d7 *: add context.Context to ensureActiveUser() (#57351)
ref pingcap/tidb#55563
2024-12-02 12:54:11 +00:00
ec288d95a3 *: avoid notify privilege update for all users (#57042)
ref pingcap/tidb#55563
2024-11-29 13:16:54 +00:00
d5b27a91ce *: make default_authentication_plugin more compatible with mysql (#56660)
close pingcap/tidb#54138
2024-10-21 10:31:51 +00:00
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
23facada83 executor: fix forget to release session (#56299)
close pingcap/tidb#56271
2024-09-25 12:29:54 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +00:00
a7865a68a5 session: bind extensions to bootstrap session (#54670)
close pingcap/tidb#54671
2024-07-22 17:45:03 +00:00
a48a4a28a4 executor: populate correct user in set pwd for error msg (#54040)
close pingcap/tidb#54039
2024-07-17 18:25:31 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
cbf34c51e9 executor/simple: prohibit setting a resource group to a role (#54525)
close pingcap/tidb#54417, ref pingcap/tidb#54434
2024-07-09 13:07:34 +00:00
3860ba5c2e *: implement auth plugin support in the extension framework (#53494)
close pingcap/tidb#53181
2024-07-03 15:22:29 +00:00
f7d66f4913 distsql: use a more accurate type of the context of distsql (#51618)
close pingcap/tidb#51617
2024-04-01 08:27: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
07ef009486 server, metrics: remove the connection count on server, only use the metrics (#51996)
close pingcap/tidb#51889
2024-03-22 09:47:15 +00:00
f5072b0096 ddl: add privilege check for admin bdr commands (#51185)
close pingcap/tidb#51183
2024-02-27 10:47:01 +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
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
f5cb034baa ddl: support fine-grained modify column and add column (#50039)
close pingcap/tidb#48519
2024-01-05 05:47:03 +00:00
7f9559c10c executor: refactor executor pkg's warning and note generation (#49600)
close pingcap/tidb#49291
2023-12-21 10:42:23 +00:00
bee28760d8 parser/executor: admin show/set bdr role (#48504)
ref pingcap/tidb#48519
2023-11-16 12:44:16 +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
895b4e0f12 *: replace mathutil.Max/Min with built-in max/min (#47700)
ref pingcap/tidb#45933
2023-10-17 07:22:59 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00