Commit Graph

15974 Commits

Author SHA1 Message Date
2f119e30a4 ddl/table_split_test.go: migrate test-infra to testify (#29960) 2021-11-23 13:49:50 +08:00
805a887380 executor: migrate test-infra to testify for executor/show_stats_test.go (#30000) 2021-11-23 13:37:51 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
eb4bc5dc89 parser: update cznic/parser&y to new 1.0.2/1.0.1 (#29846) 2021-11-23 12:07:51 +08:00
9d531488b5 parse: support set local sysvar=xxx (#30005) 2021-11-23 11:53:51 +08:00
b87f9d1768 server: migrate test-infra to testify for tidb_test.go (#29535) 2021-11-23 11:15:50 +08:00
0f184caa18 planner: use the converted datum based on the target column to point get (#26713) 2021-11-23 11:03:50 +08:00
51f53f3376 insert: fix the auto id retry won't cast the datum to origin type (#29997) 2021-11-22 23:39:49 +08:00
2bf67ff18e executor, types: refactor CompareDatum (#29866) 2021-11-22 23:23:50 +08:00
e482122d4e br : migrate test-infra to testify for lightning/backend/backend_test (#30009) 2021-11-22 23:11:50 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
e47f0f5e80 expression: use encode buffer in to_binary, warp encrypt function with to_binary (#29950) 2021-11-22 19:33:49 +08:00
d711f18e0d types/datum.go: casting zero to enum should not change value (#29759) 2021-11-22 18:29:49 +08:00
02a8f04531 types: fix return err when decimal from string value (#22407) 2021-11-22 18:15:49 +08:00
8e93dc5edb expression: fix flen and decimal for ceil, floor, truncate, round (#29923) 2021-11-22 18:01:49 +08:00
e2e6e5561b encoding: refactor the character encoding (#29935) 2021-11-22 16:59:49 +08:00
5ceb77c7c7 executor: migrate test-infra to testify for executor/brie_test.go (#29955) 2021-11-22 16:47:50 +08:00
4d16aabf90 planner: change redundantSchema to fullSchema to correctly handle natural and "using" joins (#29599) 2021-11-22 14:53:49 +08:00
44283b743b util: remove Parallel for TestIndexRange (#29954) 2021-11-22 14:29:49 +08:00
2d2fba5ee0 telemetry, session : add telemetry for cache table feature (#29963) 2021-11-22 14:03:49 +08:00
c835349972 table, parser: check for invalid GBK characters before insertion (#28814) 2021-11-22 13:29:49 +08:00
723242ad24 parser: support trace plan statement (#29720)
* support trace plan statement

Signed-off-by: yisaer <disxiaofei@163.com>

* fix conflict

Signed-off-by: yisaer <disxiaofei@163.com>

* fix fmt

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-22 13:09:45 +08:00
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