Commit Graph

158 Commits

Author SHA1 Message Date
4f2ef40a0f *: fix warning message when to meet strconv.ErrSyntax (#43358)
close pingcap/tidb#41730
2023-04-24 12:16:01 +00:00
d33b9ae173 load data: check table empty or not for physical mode (#43157)
ref pingcap/tidb#42930
2023-04-19 13:21:19 +08:00
a55a1f1b37 sql: support SHOW BACKUP METADATA FROM <storage:str> (#42914)
close pingcap/tidb#42913
2023-04-13 22:21:01 +08:00
2002ca106e load data: physical mode part2 (#42883)
ref pingcap/tidb#40499
2023-04-13 14:09:01 +08:00
88d81cad74 parser: add warning when the hint in the wrong place (#42152)
close pingcap/tidb#42149
2023-03-30 09:18:55 +08:00
07178874b6 lightning: use sql to add secondary indexes (#42136)
close pingcap/tidb#42132
2023-03-17 18:34:53 +08:00
3ea364720b load data: add root cause to an error message (#42352)
ref pingcap/tidb#40499
2023-03-17 17:39:13 +08:00
04741ae4ca *: implement CANCEL/DROP LOAD DATA JOB (#42137)
ref pingcap/tidb#40499
2023-03-17 11:58:39 +08:00
982e0dcb7f *: LOAD DATA support WITH DETACHED (#42159)
ref pingcap/tidb#40499
2023-03-15 19:48:39 +08:00
7c3a22e48d *: implement SHOW LOAD DATA JOB (#42118)
ref pingcap/tidb#40499
2023-03-13 22:24:39 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
1d293d8159 executor: implement part of restrictive LOAD DATA (#41793)
close pingcap/tidb#41784
2023-03-03 22:23:10 +08:00
04fefc97e6 load data: add with options (#41890)
ref pingcap/tidb#40499
2023-03-03 21:21:23 +08:00
ad01574a71 errors: add resource group throttled error (#41677)
ref pingcap/tidb#38825, close pingcap/tidb#41675
2023-03-03 14:01:10 +08:00
1da60a3ce4 executor: check error message and refine LOAD DATA logic (#41640)
ref pingcap/tidb#40499
2023-02-28 21:19:09 +08:00
70d1f6292c ddl: fix error when setting tidb_enable_ddl (#41298)
close pingcap/tidb#41277
2023-02-13 21:40:00 +08:00
278a9fec2a ddl: Improve ErrTooLongKey message (#41270)
Prefix indexes are specified in characters while this error message
returns a limit in bytes. By adding the byte length in the message this
is makes it easier to understand.

This would deviate a little bit from the message in MySQL.

Before:
```
sql> CREATE TABLE t1(id int primary key, c1 text, key(c1(1000)));
ERROR: 1071 (42000): Specified key was too long; max key length is 3072 bytes
```

After:
```
sql> CREATE TABLE t1(id int primary key, c1 text, key(c1(1000)));
ERROR: 1071 (42000): Specified key was too long (4000 bytes); max key length is 3072 bytes
```
2023-02-10 11:57:11 +01:00
280b773206 ddl: prevent dropping in-use resource group (#40716)
ref pingcap/tidb#38825
2023-01-19 18:53:49 +08:00
bbd1995ea3 ddl, lightning: support detecting duplicate keys in different batch (#40701)
close pingcap/tidb#40698
2023-01-19 14:29:49 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +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
db53a42eea errno, store: fix ErrPDServerTimeout arguments (#40468)
close pingcap/tidb#40439
2023-01-11 10:30:23 +08:00
b477b1c946 *: Supports create/alter/drop resource group (#40188)
ref pingcap/tidb#38825
2023-01-09 13:44:22 +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
c8124a0595 ddl: Disable RENAME COLUMN for partitioning columns | tidb-test=pr/2054 (#40151)
close pingcap/tidb#40150
2022-12-29 09:18:16 +08:00
83d275cc53 ddl: Refine the error message to compatible with MySQL when drop a partition table partition key column (#38740)
close pingcap/tidb#38739
2022-12-27 18:24:16 +08:00
f9d4a54b08 expression: impl cast as array function (#40076)
close pingcap/tidb#40128
2022-12-26 20:40:15 +08:00
53edd892a3 ddl: fix issue of partition table with foreign key and add more test case (#40122) 2022-12-23 13:04:14 +08:00
b4f500e018 ddl: check the limitation when creating multi-valued index (#39818)
close pingcap/tidb#40086
2022-12-21 18:08:55 +08:00
d045b41d87 ttl,ddl: disable ttl for fk and temp table (#39581)
close pingcap/tidb#39351, close pingcap/tidb#39364
2022-12-02 18:22:01 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
cabc01825d ddl: improve the log messages and refine code (#39456) 2022-12-02 15:02:01 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
328aef88b0 lightning: add precheck about downstream CDC/PiTR (#39338)
close pingcap/tidb#39346
2022-11-30 13:17:59 +08:00
d2ace99d68 br: leader selection with tikv store balance score during the ebs data restore (#39402)
close pingcap/tidb#39404
2022-11-29 21:29:59 +08:00
7f632be1d5 ddl: add ttl related jobs / execution (#39298)
close pingcap/tidb#39269, close pingcap/tidb#39270, close pingcap/tidb#39271
2022-11-28 10:42:00 +08:00
c34ee821a2 errno, statistics: show partition name whose stats are missing when merging global stats fails (#39348) 2022-11-25 18:31:59 +08:00
e205f931aa *: support password validation options and variables (#38953)
ref pingcap/tidb#38924, close pingcap/tidb#38928
2022-11-24 20:25:59 +08:00
97add26c8f json: support array range selection and from last selection (#38584)
close pingcap/tidb#38583
2022-11-01 18:25:59 +08:00
43468983d9 *: add foreign key cascade delete when execute delete statement (#38377)
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
f1b7aa1187 txn: add db name and table name in write conflict error message (#38040)
close pingcap/tidb#37257
2022-10-11 16:19:51 +08:00
d53a2ea21d ddl: fix issue when add foreign key ddl job (#38206)
close pingcap/tidb#38168
2022-09-28 17:45:45 +08:00
858b8a38ea *: add foreign key constraint check when execute insert statement (#37466)
close pingcap/tidb#37465
2022-09-24 00:41:43 +08:00
181fb8e905 br: merge feature branch of ebs-based-br (#37297)
ref pingcap/tidb#35306
2022-09-18 20:37:00 +08:00
6d0bbe8985 ddl: add foreign key check when drop column (#37843)
close pingcap/tidb#37842
2022-09-16 15:39:01 +08:00
9a8272dc71 ddl: add foreign key check when modify column (#37823)
close pingcap/tidb#37821
2022-09-15 19:10:59 +08:00
f80a42d2d6 ddl: check index is needed in foreign key when drop index (#37813)
close pingcap/tidb#37812
2022-09-15 14:44:59 +08:00
3f77284ee4 ddl: add foreign key check when execute drop/truncate table (#37773)
close pingcap/tidb#37772
2022-09-14 16:50:59 +08:00
884898b812 txn: distinguish write conflict reasons (#37735)
close pingcap/tidb#37734
2022-09-14 14:46:58 +08:00
dfde95cb93 expression: check json max depth (#37759)
close pingcap/tidb#37292
2022-09-13 17:36:58 +08:00