Commit Graph

4805 Commits

Author SHA1 Message Date
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
73f3435346 ddl: move some admin function to ddl (#34527)
close pingcap/tidb#34526
2022-05-10 18:14:34 +08:00
adebe4452b executor: fix time filter condition when select from information.slow_query_log (#34322)
close pingcap/tidb#34320
2022-05-10 10:56:33 +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
9f15cac7a7 planner: fix the explain verbose to be NOT case insensitive (#34471)
close pingcap/tidb#34469
2022-05-09 15:44:33 +08:00
b1379a61b5 executor: release memory usage of task in indexJoin/indexHashJoin (#34418)
close pingcap/tidb#34417
2022-05-09 15:16:33 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
685de0e099 ddl: fix recover table will still push table state even if meet error (#34410)
close pingcap/tidb#34438
2022-05-09 11:02: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
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
4b917c47ec util/codec: Fix analyze table for partitioned table with datetime column and version 1 (#34228) (#34364)
close pingcap/tidb#34228
2022-05-05 20:18:56 +08:00
4e21680458 log: avoid panic on unknown log format (#34360)
close pingcap/tidb#34359
2022-05-04 10:14:54 +08:00
698a4ffe00 *: move config file option query-log-max-len to sysvar (#34305)
ref pingcap/tidb#33769
2022-05-04 00:46:54 +08:00
dd01b5586e util: improve stack message in the panic log (#34357)
close pingcap/tidb#34356
2022-05-03 11:28:53 +08:00
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +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
91cb86e3cf domain, sessionctx/variable: make code DRY (#33897)
close pingcap/tidb#33896
2022-04-28 20:26:52 +08:00
42089cd9e3 statistics: separte Get/Put according to query for statsCacheInner (#34211)
ref pingcap/tidb#34052
2022-04-28 18:04:52 +08:00
d22cd59da4 planner: refactor the cost implementation for Aggs (#34227) 2022-04-27 20:12:39 +08:00
591c2050a7 planner: let apply be paralleled though there's order property can be used (#34238)
close pingcap/tidb#34237
2022-04-27 11:22:51 +08:00
f16f0e844d executor: use sys session to build view for info_schema.columns retrieval (#33946)
close pingcap/tidb#32459
2022-04-26 20:02:51 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
b119f2620a table: fix NO_ZERO_DATE not work for insert into select statement (#34101)
close pingcap/tidb#34099
2022-04-26 18:10: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
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
aa1fe9d8c6 *: refine some tests for concurrent DDL (#34215)
ref pingcap/tidb#33008
2022-04-25 17:14:50 +08:00
d23a81488a *: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
2022-04-25 16:52:51 +08:00
d3a02f416a executor: flush statement should trigger implicit commit (#34134)
close pingcap/tidb#34180
2022-04-24 17:38:48 +08:00
e6d55e14fa executor/infoschema_reader.go: skip the unidentifiable table-attributes (#34129)
close pingcap/tidb#33665
2022-04-22 14:08:04 +08:00
886dc81f17 executor: fix label of rollback stmt counter (#34160)
close pingcap/tidb#34161
2022-04-22 09:58:04 +08:00
02de667042 testkit: add MockSessionManager (#34124)
ref pingcap/tidb#31716
2022-04-21 12:14:04 +08:00
571d97bb16 planner: using the funcdep to check the only_full_group_by (#33567)
ref pingcap/tidb#29766
2022-04-21 00:44:04 +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
669b9bcd36 validation: fix set readonly variable max_allowed_packet should return error (#33658)
close pingcap/tidb#32349
2022-04-20 09:02:02 +08:00
d63a5fd33d executor: add some memory tracker in HashJoin (#33918)
ref pingcap/tidb#33877
2022-04-19 23:28:03 +08:00
212a6b22af planner: introduce the new cost interface (#33990) 2022-04-19 14:03:09 +08:00
89410b537f executor: fix data race in TestSlowQueryOOM (#34016)
close pingcap/tidb#33982
2022-04-19 13:30:03 +08:00
e21b435d0c *: fix index join on partition table data race (#33979)
ref pingcap/tidb#32846, close pingcap/tidb#33751, ref pingcap/tidb#33762
2022-04-19 09:48:02 +08:00
3cf6b08e6b parser: skip restoring schema name of CTE table columns (#33991)
close pingcap/tidb#33965
2022-04-18 22:48:03 +08:00
a523089d4a planner: consider seek cost of probe-side for index join (#33867)
close pingcap/tidb#32362
2022-04-18 19:06:03 +08:00
58e2a552d3 executor: migrate test-infra to testify for executor_test.go (#34062)
close pingcap/tidb#28577, close pingcap/tidb#33425, close pingcap/tidb#33432
2022-04-18 14:46:03 +08:00
1fcc407b3b executor: migrate test-infra to testify for executor_test.go testSuiteP2 (#34049)
close pingcap/tidb#33427
2022-04-18 13:10:02 +08:00
2b00d3e6e0 executor: migrate test-infra to testify for testSuite2 (#34046)
close pingcap/tidb#33431
2022-04-18 11:50:02 +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
345b1a886f executor: migrate test-infra to testify for part of executor_test.go (#34040)
ref pingcap/tidb#28577
2022-04-17 18:08:36 +08:00
ecb0c98d33 executor: make test TestSlowQueryWithoutSlowLog stable (#34014)
close pingcap/tidb#34013
2022-04-15 22:20:36 +08:00
88c18ea01f util: Adjust the minimum TLS version supported by TiDB tools from 1.0 to 1.2 (#33997)
close pingcap/tidb#33996
2022-04-15 19:46:36 +08:00
4844c833a9 executor: fix CTE race case by avoiding reopen iterInTbl (#33731)
close pingcap/tidb#33193
2022-04-15 18:02:36 +08:00
56e1789cc4 planner: support MaxOneRow clone (#33888)
close pingcap/tidb#33887
2022-04-15 13:42:36 +08:00