Commit Graph

16108 Commits

Author SHA1 Message Date
3337405dd0 expression, parser: add built-in func is_uuid (#30318) 2021-12-07 02:47:55 +08:00
bc08b50127 lightning: fix gcs max key limit (#30393) 2021-12-07 01:59:56 +08:00
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
9d307b00ae dumpling: fix dump failed when sequence exists (#30164) 2021-12-06 20:03:56 +08:00
d7c2333e63 server: Fix unstable tests with FakeAuthSwitch (#30287) 2021-12-06 18:13:55 +08:00
3131085398 *: update client-go for small backoff time (#30436) 2021-12-06 17:45:56 +08:00
dfd7157637 util, cmd: remove unused filesort (#30438) 2021-12-06 17:11:56 +08:00
720370767a br: fix the integration tests (#30423) 2021-12-06 15:27:56 +08:00
464db6b537 ddl: handle the error from addBatchDDLJobs() correctly (#30401) 2021-12-06 14:53:57 +08:00
0b3ec0924b ddl: migrate test-infra to testify for ddl/table_test.go (#30267) 2021-12-06 13:35:55 +08:00
d3ba0c2730 server: refine code logic in handleDownloadFile (#30422)
* refine logic

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

* fix

Signed-off-by: yisaer <disxiaofei@163.com>
2021-12-06 13:12:33 +08:00
9c62e96633 expression: migrate test-infra to testify for flag_simplify_test.go (#30407) 2021-12-06 12:17:55 +08:00
ffe9b3852e ddl: fix the enum default value by triming trailing space (#30356) 2021-12-06 11:59:55 +08:00
e3e2e8d946 dumpling: fix default collation with upstream when dump database and table (#30292) 2021-12-04 23:19:54 +08:00
28446605c2 expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute (#29664) 2021-12-03 15:57:54 +08:00
70d29735e6 executor, util: reset offsets and nullBitMap for MutRow when setting new values (#30265) 2021-12-03 15:33:54 +08:00
4fbbd5a77d executor: make projection executor unparallel for insert/update/delete (#30290) 2021-12-03 15:13:54 +08:00
ac69c607e9 *: fix goroutine leak in ddl intergration test (#30369) 2021-12-03 14:29:54 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
9aa756336e executor: avoid sum from avg overflow (#30010) 2021-12-03 11:09:55 +08:00
cec4acbf5e planner/core: fix a data race when building plan for cached table (#30355) 2021-12-03 00:05:54 +08:00
dae711cbe7 planner: Add trace for agg pushdown rule (#30262) 2021-12-02 20:07:54 +08:00
cbe5240dd0 session, sessionctx/variable: fix validation recursion bug (#30293) 2021-12-02 18:47:54 +08:00
2242f9c8bc parser: support multi bracket for subquery (#29656) 2021-12-02 18:15:54 +08:00
6475e8949c *: add warn log for stale read (#30340) 2021-12-02 17:59:54 +08:00
004382d020 expression: don't append null when param for char() is null (#30236) 2021-12-02 17:37:54 +08:00
6898975a7d parser: fix missing charset and collation of handle column (#30320) 2021-12-02 17:05:54 +08:00
732b7eb128 executor: fix data race in oomtest (#30339) 2021-12-02 13:33:53 +08:00
8e2b96256e types: casting JSON literal null to number types should fail (#30278) 2021-12-02 13:23:54 +08:00
4947cf1f59 expression: fix wrong result of greatest/least(mixed unsigned/signed int) (#30121) 2021-12-02 13:11:53 +08:00
7acb80f125 executor: migrate test-infra to testify for executor/index_lookup_join_test.go (#30260) 2021-12-02 11:27:53 +08:00
04a387c1d0 tidb-server: return 1 while failing to set cpu affinity (#30197) 2021-12-02 10:45:53 +08:00
450d72fd6e executor: replace should not change other rows when auto ID is out of range (#30301) 2021-12-02 10:25:53 +08:00
124f1fcf3e br: add more precise check for lock file (#30218) 2021-12-02 10:15:53 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
4785dc4a62 planner: fix inconsistent schema between UnionAll and child operator (#30231) 2021-12-01 20:35:53 +08:00
92c7c075d5 ddl: migrate test-infra to testify for ddl/options_test.go (#30269) 2021-12-01 19:59:53 +08:00
fa686a9fa0 metrics/grafana: fix display for 'Start TSO Wait Duration' panel (#30311) 2021-12-01 19:11:54 +08:00
94be83bfa6 *: replace compareDatum by compare and fix wrong optimize order by (#30273) 2021-12-01 19:01:53 +08:00
0a92c4d133 store: Add metrics for pd api call time (#30062) 2021-12-01 18:49:53 +08:00
b5cb933298 ddl/ddl_algorithm_test.go: migrate test-infra to testify (#30268) 2021-12-01 18:39:54 +08:00
7124e62bdb *: update client-go to use resolveForRead (#30314) 2021-12-01 18:23:54 +08:00
f0e81a9828 ddl: Do not consider the clustered index when checking the length of the secondary index (#29660) 2021-12-01 17:43:54 +08:00
4e61d1626a topsql: reduce data race of sql digest (#30296) 2021-12-01 17:31:54 +08:00
80d18b6efb load data: fix bug if load data with long content (#29222) 2021-12-01 16:25:54 +08:00
e97e8c0f23 ddltest: refactor logutil.InitLogger in ddltest to avoid data race (#30299) 2021-12-01 16:13:54 +08:00
7c5e854f1a privilege,session: Match loopback connections to 'localhost' accounts (#29995) (#30189) 2021-12-01 15:29:53 +08:00
a046014776 planner: Add trace for proj elimination rule (#30275) 2021-12-01 11:23:53 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00