Commit Graph

335 Commits

Author SHA1 Message Date
0d7e7b875f server: enhance graceful stop by closing connections after finish the ongoing txn (#32111)
close pingcap/tidb#32110
2023-03-07 20:55:12 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
1da60a3ce4 executor: check error message and refine LOAD DATA logic (#41640)
ref pingcap/tidb#40499
2023-02-28 21:19:09 +08:00
54a23ef986 adapter, txn: Move aggressive locking controlling logic to handlePessimisticXXX functions to avoid some potential misuses (#41726)
close pingcap/tidb#41724
2023-02-28 16:45:08 +08:00
79558c08ad metric: add some metric by database (#41477)
close pingcap/tidb#37892
2023-02-18 13:39:04 +08:00
d161aa6e45 executor: LOAD DATA use lightning CSV parser (#40852)
ref pingcap/tidb#40499
2023-02-16 19:22:02 +08:00
0519e7ee6b server: support PROXY protocol fallback-able options (#41393)
close pingcap/tidb#41409
2023-02-16 18:12:03 +08:00
262ebd5f07 server: Implement column defaults for mysql.ComFieldList (#40765)
close pingcap/tidb#40764
2023-02-07 01:31:58 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
6a55f3ea97 server: Return error when no password is specified for caching_sha2_password account with password (#40858)
close pingcap/tidb#40831
2023-01-31 14:57:54 +08:00
556c267758 server, privileges: make tidb_auth_session_token compatible with password expiration and resource group (#40735)
ref pingcap/tidb#40614
2023-01-20 13:51:49 +08:00
dc30a5b7b3 *: LOAD DATA support load one file from s3 and other OSS (#40489)
ref pingcap/tidb#40499
2023-01-18 15:27:51 +08:00
d15ffca071 server: fix ComStmtPrepare end with \0 (#39295)
close pingcap/tidb#39132
2022-11-22 00:29:58 +08:00
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
16911610d2 extension: provide more complete info in StmtEventInfo when error (#38963)
close pingcap/tidb#38962
2022-11-08 17:55:50 +08:00
97b0151773 metrics: add metrics for multi-statement (#38931)
close pingcap/tidb#38930
2022-11-08 10:33:50 +08:00
dc9b691714 extension: add extension API to listen stmt events (#38789)
close pingcap/tidb#38788
2022-11-07 16:03:51 +08:00
xhe
4f9de19c3c *: fix check auth support (#38884) 2022-11-04 13:40:00 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
xhe
99a57282dc *: support switch auth when change user (#38830)
close pingcap/tidb#38829
2022-11-03 12:40:00 +08:00
ecdc0f74ed extension: add error and active roles info to extension.ConnEventInfo (#38752)
close pingcap/tidb#38493
2022-11-01 13:33:59 +08:00
cff890a3d9 *: add server ip in connection info (#38723)
close pingcap/tidb#38493
2022-10-31 14:17:59 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
gx
ec93697eef server: update dispatch behavior on mysql command SLEEP (#38645)
close pingcap/tidb#38612
2022-10-27 11:03:56 +08:00
753e3da26a extension: support extension to listen connection events (#38624)
close pingcap/tidb#38623
2022-10-26 22:01:56 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
dd65832136 *: add context for hook of getting/setting variables (#38379)
close pingcap/tidb#38378
2022-10-18 16:43:53 +08:00
39aa4f59d9 testcase: add a testcase for second fetch of selectResponse (#37290)
ref pingcap/tidb#37226
2022-09-27 11:01:44 +08:00
ff873bbaf9 server: change the compatibility of tidb_sm3_password (#37909)
ref pingcap/tidb#36192
2022-09-19 11:39:00 +08:00
c19dc460c0 executor: support plan replayer multi sqls (#37867)
close pingcap/tidb#37798
2022-09-16 13:40:59 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
58822f8859 planner: get plan from the general plan cache before optimization (#37634) 2022-09-06 16:58:39 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00
xhe
b41d751e75 server: fully support CLIENT_DEPRECATE_EOF (#36971)
ref pingcap/tidb#32118
2022-08-10 11:34:48 +08:00
3a95e52b90 server: Fix EOF handling in prepared statements (#36942)
close pingcap/tidb#36937
2022-08-08 16:22:47 +08:00
c7b5ca0f71 server: Remove old handshake support (#27768)
close pingcap/tidb#36922
2022-08-06 08:50:06 +08:00
2e16291b2d server: support deprecation of EOF packets (#34753)
close pingcap/tidb#32118
2022-08-05 15:34:07 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
eb85efba33 *: add affected rows metrics (#36436)
close pingcap/tidb#36435
2022-07-25 17:33:10 +08:00
23f25af211 executor,metrics: add a metric for observing execution phases (#35906)
ref pingcap/tidb#34106
2022-07-21 21:31:09 +08:00
9a2ed52119 server, sessionctx: support token-based authentication (#36152)
close pingcap/tidb#35913
2022-07-14 18:29:06 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
854c68d992 server: fix connection close on network timeout/read error (#34757)
close pingcap/tidb#34722
2022-05-19 14:58:39 +08:00