Commit Graph

888 Commits

Author SHA1 Message Date
856e82ad6a txn: add methods to handle error for TxnManager (#34489)
close pingcap/tidb#34533
2022-05-13 16:00:37 +08:00
218247e80e *: improve stack message in the panic log (#34564)
close pingcap/tidb#34356
2022-05-11 16:34:34 +08:00
145058cd75 session: migrate test-infra to testify for parts of session_test (#34560)
Signed-off-by: tison <wander4096@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-11 16:16:13 +08:00
73f3435346 ddl: move some admin function to ddl (#34527)
close pingcap/tidb#34526
2022-05-10 18:14:34 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
f6ce33761b *: fix load statement can not handle the upper case user variable (#34423)
close pingcap/tidb#34420
2022-05-07 13:02:31 +08:00
1f9d34aeef *: Revert #33519 for performance fallback and fix the #33509 in another way (#34425)
close pingcap/tidb#33509
2022-05-06 21:20:56 +08:00
5b6ffa70cc domain,session: Store and delete internal session in the session pool (#34168)
close pingcap/tidb#34154
2022-04-29 13:54:52 +08:00
0d5ac6f3cb sysvar, config: mapping config settings to system variables. (#33279)
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
d42cf6ad4d session: add parser failed error to sessionVars.StmtCtx (#34311)
close pingcap/tidb#34276
2022-04-29 13:06:53 +08:00
6da6e5a571 *: fix build tag by run gofix (#34260)
ref pingcap/tidb#31716
2022-04-27 18:02:52 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
fb342ff861 topsql: fix issue of topsql failed catch the running SQL when topsql is enabled in execution (#33861)
close pingcap/tidb#33859
2022-04-26 13:16:51 +08:00
c917cd3d3d charest: add all mysql character information in parser (#34210)
close pingcap/tidb#31598
2022-04-26 10:54:51 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
a5033d14d0 *: use global auto analyze ID in order to kill auto analyze globally (#34075)
close pingcap/tidb#34076
2022-04-20 17:58:03 +08:00
1355937bb3 server: fix data race in TestIssue33699 (#34027)
close pingcap/tidb#33983
2022-04-20 13:50:03 +08:00
89410b537f executor: fix data race in TestSlowQueryOOM (#34016)
close pingcap/tidb#33982
2022-04-19 13:30:03 +08:00
706e4fd536 server: reset accumulatedLength in readPacket() function (#34071)
close pingcap/tidb#34070
2022-04-18 21:08:03 +08:00
4d3a3c259a server: use max_allowed_packet to limit the packet size. (#33651)
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
645ae1ce19 *: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
2022-04-15 20:06:36 +08:00
10461370d3 server: openSession instead set nil when changeUser (#33894)
close pingcap/tidb#33892
2022-04-14 18:12:36 +08:00
f988f54550 executor: add memory tracker for quering slow_query to avoid TiDB server oom (#33953)
close pingcap/tidb#33893
2022-04-14 14:54:36 +08:00
1d485d11ed topsql: fix admin check/cleanup/recover statement doesn't set tag for RPC request (#33869)
close pingcap/tidb#33716
2022-04-13 18:00:36 +08:00
cff88d7bc3 topsql: remove redundant attach sql information (#33806)
close pingcap/tidb#33805
2022-04-08 17:02:32 +08:00
9fecc8a9b6 server: set 'clientConn.ctx = nil' to clean the context when changeUser. (#33703)
close pingcap/tidb#33699
2022-04-08 14:54:32 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
e9b7f77726 topsql: add more test to check resource tag for each RPC request (#33623)
close pingcap/tidb#33208
2022-04-07 11:58:32 +08:00
191a2dcda1 topsql: fix the issue of TopSQL doesn't catch the scan_rows of DDL executions (#33370)
close pingcap/tidb#33202
2022-03-30 21:06:30 +08:00
5004a8133f executor: fix execute failed when table schema changed (#33519)
close pingcap/tidb#33509
2022-03-30 10:14:28 +08:00
4ff3ec260c *: improve test for import concurrency ddl in the future (#33496)
close pingcap/tidb#33495
2022-03-28 17:30:28 +08:00
060413bc13 server: refine plan replayer dump file (#33497)
ref pingcap/tidb#26335
2022-03-28 16:56:28 +08:00
a3a1e0167f privilege/privileges, server: stabalize tests (#33246)
close pingcap/tidb#33245
2022-03-21 15:04:32 +08:00
e8ee6c1939 topsql: fix the issue of TiDB doesn't set the request tag for DDL before send RPC request to TiKV (#33133)
close pingcap/tidb#33132
2022-03-17 16:18:30 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
d4d43ba0b4 txn: support read consistency read with ts checking (#32922)
close pingcap/tidb#33159
2022-03-16 20:49:52 +08:00
44aae22a8b server: Revert "server: Improve compatibility with MySQL 5.5 and 5.6 clients … (#33142)
close pingcap/tidb#33141
2022-03-16 20:21:52 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
403dcfd32d server: a better way to handle killed connection (#32809)
close pingcap/tidb#24031, ref pingcap/tidb#29212
2022-03-15 15:15:52 +08:00
678397ba62 planner: ignore close-stmt to make more queries can hit plan cache (#32928) 2022-03-15 14:13:20 +08:00
ffaeb3e80d ddl: improve test to avoid cycle import (#32058)
ref pingcap/tidb#31716
2022-03-14 12:11:51 +08:00
5170f2f414 topsql: add more test case for topsql (#32410)
close pingcap/tidb#32405
2022-03-11 17:43:51 +08:00
d0e8a53f55 planner: update the structure of the plan cache key (#32665)
ref pingcap/tidb#31056
2022-03-07 18:01:50 +08:00
62e20780e8 *: kill auto analyze (#31724)
close pingcap/tidb#32808
2022-03-07 13:49:48 +08:00
7e8ca4cfa2 server: Improve compatibility with MySQL 5.5 and 5.6 clients (#32338)
close pingcap/tidb#32334
2022-03-03 20:27:48 +08:00
3e1cd2733a ddl: migrate test-infra to testify for rollingback_test.go (#32647)
close pingcap/tidb#29110
2022-02-26 16:11:43 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +08:00
2d93944210 executor: migrate test-infra to testify for partition_table_test.go (#30665)
close pingcap/tidb#28600
2022-02-14 19:39:38 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00