Commit Graph

1887 Commits

Author SHA1 Message Date
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
ffe9b3852e ddl: fix the enum default value by triming trailing space (#30356) 2021-12-06 11:59:55 +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
8e2b96256e types: casting JSON literal null to number types should fail (#30278) 2021-12-02 13:23:54 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
92c7c075d5 ddl: migrate test-infra to testify for ddl/options_test.go (#30269) 2021-12-01 19:59:53 +08:00
b5cb933298 ddl/ddl_algorithm_test.go: migrate test-infra to testify (#30268) 2021-12-01 18:39: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
13b7a2d0ef ddl: disallow change columns from zero int to time (#25728) 2021-11-30 22:09:53 +08:00
a0f7643e3f *: forbid set TiFlash Replica for a table with unsupport charset (#30162) 2021-11-30 15:55:53 +08:00
437d8ba3d0 ddl: migrate test-infra to testify for db_cache_test.go (#30117) 2021-11-29 11:37:52 +08:00
4f19445b9d ddl/ddl_test.go: refactor testTableInfo to return error (#30069) 2021-11-26 21:43:51 +08:00
9cd0b49f7f partition: Show partition reformat (#29945) 2021-11-25 04:21:50 +08:00
d04a1285a5 ddl, util/codec: fix add index OOM and prevent panic in logging (#29925) 2021-11-24 10:35:51 +08:00
b57c1e1cab ddl: forbit alter table cache in system db (#29998) 2021-11-24 10:05:50 +08:00
9535f0592f *: fix unstable test in placement gc cases (#30045) 2021-11-23 18:23:50 +08:00
d252fd1c8c ddl: stable create expression index test (#29990) 2021-11-23 17:29:50 +08:00
efd6c5ec14 ddl/ddl_test.go: refactor testSchemaInfo to return error #29964 (#30008) 2021-11-23 14:17:50 +08:00
2f119e30a4 ddl/table_split_test.go: migrate test-infra to testify (#29960) 2021-11-23 13:49:50 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
02a8f04531 types: fix return err when decimal from string value (#22407) 2021-11-22 18:15:49 +08:00
49909a247b ddl/ddl_test.go: refactor testNewDDLAndStart to return error (#29964) 2021-11-22 12:17:49 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07: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
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
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00
b1352ded03 *: postpone drop bundle for truncate/drop partition/drop schema to gc (#29810) 2021-11-18 12:03:47 +08:00
34bd98d39e ddl: fix rename locked table (#29754) 2021-11-17 19:53:47 +08:00
fec2938c13 ddl: check EnableChangeMultiSchema sysvar when deal with multi columns (#29828) 2021-11-17 12:47:46 +08:00
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
9c6540f8e2 ddl : ddl forbid create / add / rename /drop index for cache table (#29707) 2021-11-15 14:57:07 +08:00
79e6d1b14a ddl: use the individual infosyncer for each attributes test (#28898) 2021-11-15 14:37:07 +08:00
199d73438b *: Move some bundle methods to bundle package and add some tests (#29691) 2021-11-15 14:27:06 +08:00
885928ca9a ddl: fix the issue that the rule may be deleted by accident (#29679) 2021-11-12 11:41:05 +08:00
6dcbafbde8 *: remove old placement code for exchange partition (#29649)
* *: remove old placement code for exchange partition

* modify some name

* fix bug

* add some comments

Co-authored-by: Arenatlx <314806019@qq.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-11 18:59:00 +08:00
a237e41d9f ddl : support alter table xx nocache operations switch a table into uncacheable (#29621) 2021-11-11 17:19:06 +08:00
25d698c797 test: improve test by checking gc_delete_range instead of scanning keys (#29651) 2021-11-11 11:59:05 +08:00
92de9c0466 *: remove old placement code for truncate partition (#29619) 2021-11-10 16:51:05 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
4c929c5b04 *: remove old placement code for truncate table (#29596) 2021-11-09 20:03:06 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
e98d587577 ddl: make CI TestDropSchemaWithPartitionTable stable (#29499) 2021-11-08 14:05:04 +08:00
f3c9d963b8 ddl_test: amend the test name to the distinguished one (#29540) 2021-11-08 11:37:03 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
e0fd3c3a45 ddl: fix cannot delete attributes when database is dropped (#29467) 2021-11-05 00:37:02 +08:00
dcbfda914a ddl, executor: add warning log for lock/unlock tables (#29301) 2021-11-04 14:23:01 +08:00
d7a655404e ddl: remove out-of-date TODO (#29383) 2021-11-03 15:23:01 +08:00