Commit Graph

115 Commits

Author SHA1 Message Date
280b773206 ddl: prevent dropping in-use resource group (#40716)
ref pingcap/tidb#38825
2023-01-19 18:53:49 +08:00
efbdeed4ab json, expression: add json unary not implementation (#40723)
close pingcap/tidb#40683
2023-01-19 16:39: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
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +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
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
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
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
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
cf69205919 expression: refactor json path syntax and make it compatible with mysql (#37074)
ref pingcap/tidb#37133
2022-08-23 11:14:20 +08:00
6a6fa8a882 ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
fc217d432c config, sysvar: add config instance.enable_ddl and sysvar tidb_enable_ddl (#35425)
ref pingcap/tidb#34960
2022-08-01 15:02:06 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
c836501f89 server, session: report an error when the session states cannot be fetched (#35892)
close pingcap/tidb#35866
2022-07-04 12:31:00 +08:00
5c9ad77ae1 *: add support for disabling noop variables (#35496)
close pingcap/tidb#8895
2022-06-21 14:10:36 +08:00
27a1b944b8 error: split an error type from ErrKeyColumnDoesNotExists (#35394)
close pingcap/tidb#35102
2022-06-17 15:46:35 +08:00
d25adf057d load_data: fix the bug that column list does not work in load data. (#35222)
close pingcap/tidb#35198
2022-06-16 21:36:36 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
45415f45be session: return an error when a non-transactional DML partially fails (#34488)
ref pingcap/tidb#33485
2022-05-10 15:50:34 +08:00
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
4d3a3c259a server: use max_allowed_packet to limit the packet size. (#33651)
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
a936646c99 ddl: support specifying expr rand() as column default value (#32608)
close pingcap/tidb#10377
2022-04-07 16:16:32 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
2b580f7392 ddl: fix table attributes error (#30065) 2022-01-14 16:09:43 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
89fd69788d *: Retry when placement PutBundles failed (#30590) 2021-12-10 09:35:57 +08:00