Commit Graph

4530 Commits

Author SHA1 Message Date
883f72bd36 planner: revise optimize tracer code structure (#31739)
ref pingcap/tidb#29661
2022-01-19 12:47:44 +08:00
7fd298d916 *: Remove direct placement in parser (#31768)
close pingcap/tidb#31485
2022-01-19 10:13:45 +08:00
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
65365628b7 executor: fix load data panic if the data is broken at escape character (#30868)
close pingcap/tidb#31589
2022-01-18 17:53:44 +08:00
c422a60c42 cmd/explain_test: migrate collation test and add more tests (#31626)
ref pingcap/tidb#31625
2022-01-18 17:29:44 +08:00
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00
43294a2938 *: Remove column TIBD_DIRECT_PLACEMENT from some sys tables (#31741)
close pingcap/tidb#31426
2022-01-18 09:47:44 +08:00
50704075af *: insert set default timestamp failed (#29966)
close pingcap/tidb#29926
2022-01-18 03:43:44 +08:00
ca7ff0a04e executor: fix data race in the IndexNestedLoopHashJoin (#31731)
close pingcap/tidb#31467
2022-01-17 23:03:44 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
4bab2b6dff *: Rename table placement_policies to placement_rules (#31698)
close pingcap/tidb#31425
2022-01-17 16:01:45 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
f1f9230264 mpp: Fix the crash or error when mpp generate empty task list. (#31658)
close pingcap/tidb#31636
2022-01-14 15:25:42 +08:00
f637fedac3 *: flashback/recover a table will clear its placement settings (#31670)
close pingcap/tidb#31668
2022-01-14 11:07:42 +08:00
cd56aba07e executor/metrics: distinguish desc a table and explain a SQL on metrics (#30948)
close pingcap/tidb#31115
2022-01-13 22:51:42 +08:00
4b63b8cc84 executor: fix the printing of index comment in information_schema (#31266)
close pingcap/tidb#29740
2022-01-13 22:31:42 +08:00
8ee88265cd planner, distsql: fix the Stale Read and Local Txn compatibility (#31606)
close pingcap/tidb#31604
2022-01-13 22:09:42 +08:00
794e838a1d *: Add tidb_enable_direct_placement to default forbid direct placement (#31623) 2022-01-13 11:07:33 +08:00
dff91fab0a planner: fix panic during optimizer trace (#31542)
close pingcap/tidb#31537
2022-01-12 23:07:42 +08:00
82a75542e8 executor: fix index join bug caused by innerWorker panic (#31563)
close pingcap/tidb#31494
2022-01-12 17:17:42 +08:00
d101fc0c32 *: case-insensitivity with LIKE when query information_schema.columns (#31511)
close pingcap/tidb#31554
2022-01-12 14:21:43 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
072326d1c5 executor: migrate test infra to testify for inspection_summary_test.go (#31483)
close pingcap/tidb#28591
2022-01-10 16:21:41 +08:00
a082abdc6f *: fix case-sensitivity issue with EQ/IN when query information_schema.columns (#31463)
ref pingcap/tidb#31481
2022-01-10 13:31:41 +08:00
a150267c8a optimizer: calculate digest only once for plan cache (#31479)
close pingcap/tidb#31269
2022-01-10 11:45:41 +08:00
xhe
84e0518344 executor: show better placement schedule state (#31073)
close pingcap/tidb#30960
2022-01-09 22:16:38 +08:00
849b6ec0cb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31411)
ref pingcap/tidb#29517
2022-01-08 14:04:37 +08:00
b30e8dd562 executor/inspection_common_test.go: migrate test-infra (#30818)
close pingcap/tidb#28589
2022-01-08 13:46:39 +08:00
c27f8f697f executor: return error as expected when indexHashJoin occur error or panic in handleTask (#31323)
close pingcap/tidb#31129
2022-01-07 15:14:37 +08:00
40c0567ab3 executor: make sure buildHashTable worker exits before IndexHashJoin finish (#31334)
close pingcap/tidb#31062
2022-01-07 04:14:38 +08:00
2bbeebd0d4 store: forbid collecting info if enable-collect-execution-info disabled (#31282)
close pingcap/tidb#31038
2022-01-06 21:54:38 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
f7cc15fe60 executor: fix CTE bug when used with Apply (#31256)
close pingcap/tidb#31255
2022-01-06 15:34:38 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
1b975917a3 executor: make handles be ordered when build table reader for IndexMerge (#31359)
close pingcap/tidb#31295
2022-01-06 12:44:37 +08:00
fac8bf384f *: Remove variable tidb_enable_alter_placement (#31066)
* *: Remove variable `tidb_enable_alter_placement`
2022-01-06 11:19:39 +08:00
9cc1b169f9 planner: do not adopt fast plan for binary literal strings (#31283)
close pingcap/tidb#31281
2022-01-05 20:12:36 +08:00
80527cbbc0 planner: do not cache the tableDual plan (#31290)
close pingcap/tidb#31280
2022-01-05 19:48:36 +08:00
daa17c448d executor: Fix data race when getting snapshot ts in IndexLookupJoin and UnionExec (#30487)
close pingcap/tidb#30468
2022-01-05 19:20:37 +08:00
42e009a538 executor: Fix a panic when using on duplicate update (#31287)
close pingcap/tidb#28078
2022-01-05 18:50:37 +08:00
397eb725ea expression: make some datetime functions' behavior consistent with MySQL (#31078)
close pingcap/tidb#30683
2022-01-05 16:22:36 +08:00
29c398cbcc charset: add gbk_bin collation into gbk charaset (#31309)
close pingcap/tidb#31308
2022-01-05 13:34:36 +08:00
6e75367ad0 collation: make gbk default collation to gbk_bin if new collation is not enabled (#31208)
close pingcap/tidb#31221
2022-01-04 15:48:35 +08:00
b43c9ffa85 *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31257)
ref pingcap/tidb#29517
2022-01-04 15:04:35 +08:00
1127977277 *: add global variable @@tidb_cache_table_lease for cached table (#31018)
close pingcap/tidb#29485
2022-01-01 16:13:51 +08:00
ceed5488cf executor: fix data race in IndexMergeReaderExec (#31230)
close pingcap/tidb#31229
2021-12-31 17:41:50 +08:00
xhe
4f30a14256 ddl: support batch create table (#28763) 2021-12-31 17:13:50 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
072561c85b sessionctx: make tidb_enable_column_tracking off by default (#31204)
close pingcap/tidb#31205
2021-12-31 13:45:51 +08:00
xhe
de885477b5 ddl: refactor schema builder (#31172)
ref pingcap/tidb#30272
2021-12-31 12:41:51 +08:00