df019ae5ba
parser: use identifier as user's resource group name ( #40479 )
...
* parser: use identifier as user's resource group name and also fix a drop resource group bug
Signed-off-by: BornChanger <dawn_catcher@126.com >
* executor: fix case
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: format parser.y
Signed-off-by: BornChanger <dawn_catcher@126.com >
* *: fix store function of resource group
Signed-off-by: BornChanger <dawn_catcher@126.com >
Signed-off-by: BornChanger <dawn_catcher@126.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-12 15:50:34 +08:00
7beec04214
sysvar: add switch for plan replayer capture using historical stats ( #40492 )
...
* add switch
* fix
* fix
* fix
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-11 19:44:33 +08:00
cefb26146b
executor: fix issue of KEY_COLUMN_USAGE table return wrong result about foreign key column ( #40491 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
Signed-off-by: crazycs520 <crazycs520@gmail.com >
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-11 19:08:33 +08:00
caffd8d6c5
ttl: forbid creating/altering a table with TTL options when pk contains float/double column ( #40487 )
...
* ttl: forbid create/alter a table with TTL options when pk contains float/double column
* format
* update
* update
* update
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-11 16:22:33 +08:00
668881fac5
executor: add partition table testcase for historical stats ( #40453 )
...
* add partition table testcase
* add partition table testcase
* fix lint
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-11 15:46:33 +08:00
45d71af649
ddl: support displaying sub-job reorg type in admin show ddl ( #40387 )
...
close pingcap/tidb#40386
2023-01-10 12:50:22 +08:00
e2a14ce0f2
planner: unify the behavior of prepare/execute limit to mysql ( #40360 )
...
ref pingcap/tidb#40219
2023-01-10 11:14:23 +08:00
0f838d9a67
planner, executor: split the range for unsigned pk of partition table when limit is used ( #40313 )
...
close pingcap/tidb#40309
2023-01-09 18:36:22 +08:00
83ec4b03f3
executor: support insert ignore/duplicate replace into with unique multi-valued index ( #40369 )
...
close pingcap/tidb#40207
2023-01-09 16:30:22 +08:00
b477b1c946
*: Supports create/alter/drop resource group ( #40188 )
...
ref pingcap/tidb#38825
2023-01-09 13:44:22 +08:00
4a8006cad2
planner: fix panic during starting tidb-server if creating global binding for partition table ( #40402 )
...
* fix
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-09 13:18:27 +08:00
2d755a818c
executor: fix data race at the ShowExec ( #39817 )
...
close pingcap/tidb#39816 , close pingcap/tidb#40295
2023-01-09 11:20:22 +08:00
f9f72688fb
*: fix static pruning partition table in disaggregated tiflash mode ( #40238 )
...
close pingcap/tidb#40239
2023-01-06 19:28:21 +08:00
f600fc694f
executor: reset the related session vars for both INSERT and REPLACE ( #40354 )
...
close pingcap/tidb#40351
2023-01-06 18:56:21 +08:00
b226dfcb05
ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable ( #40033 )
...
close pingcap/tidb#40028
2023-01-06 17:56:21 +08:00
b8490bc9ac
domain: let plan replayer dump support recording stats mem status ( #40334 )
2023-01-06 15:30:21 +08:00
e1a2b58655
ddl: fill in original default for extra writable columns in batch insert ( #40198 )
...
close pingcap/tidb#40192
2023-01-06 09:46:20 +08:00
331f69f52d
planner,infoschema,executor: Add tiflash fine grained shuffle support for hash join and aggregation ( #40121 )
...
close pingcap/tidb#40123
2023-01-06 09:24:20 +08:00
669ba5cbae
*: add warnings to slow log and slow query table ( #39884 )
...
ref pingcap/tidb#39893
2023-01-05 23:34:21 +08:00
affe126097
*: support curdate() as column's default value | tidb-test=pr/2057 ( #40326 )
...
close pingcap/tidb#38356
2023-01-05 16:14:20 +08:00
5eea731db0
util: use go-deadlock to find deadlock ( #40288 )
...
close pingcap/tidb#40293
2023-01-05 15:10:20 +08:00
d0272703f3
statistics: support historical stats dump partition table ( #40310 )
2023-01-05 11:52:20 +08:00
6ae151a9bc
planner: open the partial order prop push down for LIST PARTITION ( #40290 )
...
close pingcap/tidb#40273
2023-01-04 17:24:20 +08:00
cb5affbc3c
ddl, parser: Implement the write-reorg state split task related functions, and the related interfaces of backfill worker ( #39982 )
...
close pingcap/tidb#37123
2023-01-04 15:20:19 +08:00
73c8cc721f
ddl: persist index info after changing backfill state ( #40229 )
...
close pingcap/tidb#40217
2023-01-04 14:04:19 +08:00
3ccff46aa3
executor: special handling is required when an "auto id out of range" error occurs in insert ignore into ... on on duplicate ... ( #39847 )
...
close pingcap/tidb#38950
2023-01-03 21:28:20 +08:00
1f344ba108
autoid_service: add unit test for the package ( #40193 )
2023-01-03 19:40:19 +08:00
5327d07afc
planner: refactor plan-cache UseCache flag ( #40256 )
...
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
494672cb51
admin: impl admin check index for mv index ( #40270 )
...
close pingcap/tidb#40272
2023-01-03 16:58:20 +08:00
25a247935b
session: make plan replayer capture support prepared stmt ( #40167 )
...
close pingcap/tidb#40161
2023-01-03 11:32:19 +08:00
f7de8beede
*: remove the support of the old ddl framework ( #39684 )
...
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
d3b952a49a
executor: write multi-valued index ( #40172 )
...
close pingcap/tidb#40207
2022-12-30 13:38:17 +08:00
72f52f3f09
planner: update the plan cache strategy when expressions with parameters affect null-check ( #40218 )
...
close pingcap/tidb#38205 , close pingcap/tidb#40093
2022-12-30 11:00:18 +08:00
b94042c0b5
planner: refine planner code for disaggregated tiflash mode ( #39813 )
...
close pingcap/tidb#39814
2022-12-29 22:02:20 +08:00
6dff69f680
ddl: Support flashback cluster with ddl history ( #40209 )
...
ref pingcap/tidb#40026
2022-12-29 21:02:19 +08:00
b268c65710
*: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set ( #40197 )
...
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
bddfc6244e
ddl: add more foreign key test case ( #40052 )
...
close pingcap/tidb#40189
2022-12-28 12:40:16 +08:00
afbef28e56
executor: TiFlash supports stale read ( #40048 )
...
close pingcap/tidb#40047
2022-12-27 19:06:16 +08:00
20bb0464ef
executor: move some test into writetest ( #40097 )
2022-12-27 11:56:17 +08:00
f9d4a54b08
expression: impl cast as array function ( #40076 )
...
close pingcap/tidb#40128
2022-12-26 20:40:15 +08:00
fc241b294e
domain: revise plan replayer process log ( #40126 )
2022-12-26 20:02:15 +08:00
d2be278578
ddl: set context correctly in the setDDLLabelForDiagnosis ( #40090 )
...
close pingcap/tidb#40099
2022-12-23 15:04:14 +08:00
5c04d78f29
*: support foreign key check/cascade when execute replace into statement ( #40069 )
...
close pingcap/tidb#40068
2022-12-22 18:30:55 +08:00
5fdd3bd56a
server: support download plan replayer continues capture file ( #40085 )
2022-12-22 17:42:54 +08:00
0f4bd73741
server: avoid reusing cached stmt ctx on cursor read ( #40023 )
...
close pingcap/tidb#39998
2022-12-22 11:00:55 +08:00
9e8a21c460
planner: check the ignore-plan-cache hint in insert-stmt ( #40080 )
...
ref pingcap/tidb#39717 , close pingcap/tidb#40079
2022-12-21 20:40:55 +08:00
08f23ef9fe
planner: support set binding status by sql digest ( #39517 )
...
ref pingcap/tidb#39199
2022-12-21 17:28:54 +08:00
2150c6b3a1
executor: close recordset again ( #40073 )
2022-12-21 15:52:55 +08:00
fdf335e3e5
*: make auto-analyze killable by global memory limit ( #39978 )
...
ref pingcap/tidb#39971 , close pingcap/tidb#39994
2022-12-20 21:56:55 +08:00
6ab38033b8
oomtest: add whitelist for oom test to fix flaky test ( #40055 )
...
close pingcap/tidb#40054
2022-12-20 17:38:55 +08:00