Commit Graph

18302 Commits

Author SHA1 Message Date
49909a247b ddl/ddl_test.go: refactor testNewDDLAndStart to return error (#29964) 2021-11-22 12:17:49 +08:00
594e7ba87a planner: fix incorrect behavior of index join when one side is tableDual (#29844) 2021-11-22 12:05:49 +08:00
cc7b476481 planner: fix data race (#29957) 2021-11-22 11:51:49 +08:00
cf12389be1 executor: fix data race with RandSeed (#29965) 2021-11-22 11:37:49 +08:00
47f8aad12d metrics: fix the TSO Grafana panels (#29942) 2021-11-22 10:49:49 +08:00
bea1041845 expression: add builtin func bit_length() for gbk (#29531) 2021-11-22 10:37:49 +08:00
e448d93cb9 executor: migrate test-infra to testify for aggregate_test.go (#29903) 2021-11-20 12:25:48 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
2e94e58914 dumpling: add placement check into the head of file (#29839) 2021-11-19 18:31:48 +08:00
db
177be48e94 executor: add retriver for tidb_hot_regions_history (#27375) 2021-11-19 16:43:48 +08:00
35f4816d5a planner: rename duplicated anonymous columns when creating view (#29895)
* planner: rename duplicated anonymous columns when creating view

* add some tests

* modify test

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-19 15:37:24 +08:00
9843ff96e5 executor: fix drop role failed after revoke role from current user (#29814) 2021-11-19 15:23:48 +08:00
951f6cf774 *: use testkit/testdata instead of util/testutil (#29906) 2021-11-19 12:55:47 +08:00
b59d601cc5 *: fix unstable test TestStoreGlobalConfig (#29900) 2021-11-19 11:29:48 +08:00
b93ce18982 lightning: fix log doesn't output to stdout when passing --log-file="-" (#29896) 2021-11-19 11:19:48 +08:00
73b0a4e4ae tidb-lightning.toml: add data charset conversion config (#29880) 2021-11-19 11:05:47 +08:00
ab70e7a3d9 lightning: add unit test for lightning check multi ingest (#28959) 2021-11-19 10:55:47 +08:00
fac9c427e6 session, sessionctx/variable: add relaxed validation for global vars (#29594) 2021-11-18 18:31:48 +08:00
46de14d7a1 [logutil]: Fix MaxDays and MaxBackups not working for slow-query-logger (#27625) 2021-11-18 18:15:47 +08:00
4fad89c46b ddl, cmd: reorganize test cases in 'cmd/ddltest', delete TestCommitWhenSchemaChanged case, move TestForIssue24621 to ddl/column_type_change_test.go (#29870) 2021-11-18 15:57:47 +08:00
62b07a6c92 *: migrate test-infra to testify for executor/prepared_test.go (#29861) 2021-11-18 15:05:47 +08:00
924f963e69 executor: call cancel when closing IndexLookUpExecutor (#29894) 2021-11-18 14:45:47 +08:00
9ec688ebe8 expression, parser: support GBK for builtin function ord (#29527) 2021-11-18 14:33:47 +08:00
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00
a62c37851d *: disable prepare cache when encounter cache table (#29702) 2021-11-18 14:05:47 +08:00
4a7aad98a1 lightning: add a precheck for csv header (#27819) 2021-11-18 13:53:48 +08:00
b1352ded03 *: postpone drop bundle for truncate/drop partition/drop schema to gc (#29810) 2021-11-18 12:03:47 +08:00
6c07c5af81 explaintest: set the timezone to remove tz dependency (#29476) (#29624) 2021-11-18 11:51:48 +08:00
6f753d5bc7 br/lightning: don't make NextMajorVersion() crash if ReleaseVersion is not a semver (#29186) 2021-11-18 11:13:47 +08:00
3a2c8c43b8 lightning: split engine logic from local.go (#29869) 2021-11-18 11:01:48 +08:00
fef05d77d2 expression: fix wrong flen when cast decimal to string (#29687) 2021-11-18 10:13:47 +08:00
afa41c36da parser: remove outdated and unnecessary checkout-pr-branch.sh (#29887) 2021-11-18 03:07:47 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
eaa03e5eab executor: view definer is incorrect (#29854) 2021-11-17 23:51:47 +08:00
34bd98d39e ddl: fix rename locked table (#29754) 2021-11-17 19:53:47 +08:00
276721877c planner: generate PointGet plans for PlanCache when all conditions are EQ (#29859) 2021-11-17 16:53:47 +08:00
20b9a4d8ca executor: index out of range for lookUpContents (#27138) (#29456) 2021-11-17 16:41:46 +08:00
b3bae059ee parser: add Str2Type method. (#29857) 2021-11-17 16:27:47 +08:00
7889f445a6 expression: convert charset by wrapping internal builtin function (#29736) 2021-11-17 15:37:47 +08:00
fec2938c13 ddl: check EnableChangeMultiSchema sysvar when deal with multi columns (#29828) 2021-11-17 12:47:46 +08:00
00ece357e5 planner: make the error of access path miss more user friendly (#28879) 2021-11-17 11:53:46 +08:00
5293ea3c0a server: fix unstable test TestDumpStatsAPI (#29835) 2021-11-17 10:37:46 +08:00
7aed6ef3c5 planner: consider the prefix index when we rebuild range for a new plan (#29829) 2021-11-17 10:20:18 +08:00
56ba37a1ca statistics: fix unstable test (#29843) 2021-11-16 18:53:07 +08:00
1660bf41ad expression: migrate test-infra to testify for expression (#29723) 2021-11-16 17:45:08 +08:00
c6f4cb5cb3 br: fix DATA RACE in the TestRunServer (#29836) 2021-11-16 17:33:08 +08:00
de60ebaf25 util/chunk: avoid reuse duplicated chunk column in the pool (#29809) 2021-11-16 13:01:07 +08:00
b5d336c5e5 *: contains update/delete point get should not trigger table cache condition (#29815) 2021-11-16 12:51:07 +08:00
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
680ea4bded *: remove remaining file when exit for TestGlobalLoggerReplace (#29347) 2021-11-16 01:35:06 +08:00