Commit Graph

1512 Commits

Author SHA1 Message Date
21bf3b6202 ddl: add a switch for multi schema change & make it compatible with old test cases (#21533) 2020-12-10 16:26:00 +08:00
687df7abc6 ddl: fix unstable restartWorker test (#21633) 2020-12-10 15:04:52 +08:00
3b1e1027fd expression, json: fix converting from string to decimal (#21592) 2020-12-09 17:23:20 +08:00
7ea8102185 planner: Add table engine name check (#21110) 2020-12-09 15:56:06 +08:00
a3a248160f ddl: check partition definition correctly in list partition (#21309) 2020-12-08 14:10:48 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
0f9d77b07f ddl: Support adding a middle state in altering placement policies (#21356) 2020-12-07 15:12:58 +08:00
10ec70bc28 fix the flen in the message of column type change error (#21472) 2020-12-07 13:27:34 +08:00
c3fac5a2c4 ddl: stabilize test TestAddPrimaryKeyRollback1 (#21492)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-04 16:25:18 +08:00
91a9d3065a ddl: make reorg session aware of the new row format (#21412) 2020-12-04 15:29:49 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +08:00
c31a98be28 ddl: check add-column error when it is in txn insert (#21368) 2020-12-04 10:55:13 +08:00
7e3074afa3 ddl: support column type change from JSON type to other types (#21266) 2020-12-04 00:14:48 +08:00
3a32bd2df5 ddl: change ddl wait duration logic (#21361) 2020-12-03 19:39:48 +08:00
ba57d5c34e ddl: fix a bug that doesn't add NoDefaultValueFlag when creating a table (#21468)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:46:18 +08:00
5f73293cf5 ddl: check the generated column offset when modifies column (#21458)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:30:48 +08:00
567f364f42 ddl: Convert ddl types automatically according to length (#20652) 2020-12-03 12:03:48 +08:00
6fb60a3272 ddl: fix create list partition bug and add more test (#21398) 2020-12-02 15:21:08 +08:00
f0370c96d6 config: Add index limit configuration (#21192) 2020-12-02 12:56:18 +08:00
15ec9a613e ddl: revise TestTxnScopeConstraint (#21420) 2020-12-02 11:29:48 +08:00
7260f281e9 ddl: get a correct name for long anonymous index (#21413)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-01 19:46:48 +08:00
f1aed29d39 ddl: refine the error message for the expression index on primary key (#21419)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-01 19:25:42 +08:00
fb80822390 ddl: return an error if the alter table option is invalid (#21392)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-01 14:27:18 +08:00
ac660c2fa5 ddl: change a log's level from error to warn (#21389)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-01 14:22:18 +08:00
094b462b44 ddl: check the expression in partition definition and refactor code (#21325) 2020-11-30 11:12:00 +08:00
2f79d6c31c ddl: refactor build definition logic in create table and alter table (#21115) 2020-11-26 13:27:13 +08:00
b08bfd1ff7 ddl: fix duplicate entry message report by add index (#21241) 2020-11-25 17:42:50 +08:00
f4e58eecab ddl: compare expression in check partition definition according to column type (#21226) 2020-11-25 11:46:36 +08:00
72794461eb *: support read only lock (#21100)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-25 10:06:54 +08:00
7a19c709d0 ddl: check partition name unique when create hash type partition table (#21210) 2020-11-24 19:53:54 +08:00
b085cad80c ddl, infoschema: Support aborting the transaction when the placement rules are changed (#21116) 2020-11-23 14:06:24 +08:00
93c3e6becd *: fix default decimal precision (#21162) 2020-11-21 21:07:54 +08:00
fbaab3ecb6 ddl, planner: make partition table consider collation in create table and select sentence (#20937) 2020-11-21 09:53:53 +08:00
f55aa04713 ddl: fix partition value type check (#21016) 2020-11-18 19:27:52 +08:00
863117ba05 session: Check the partition placement constraint of local transactions (#21039)
Signed-off-by: Song Gao <disxiaofei@163.com>
2020-11-17 14:28:27 +08:00
e136429d8d *: refactor parser initialize method and add tidb_enable_strict_double_type_check variable (#20967) 2020-11-16 19:58:27 +08:00
7c88ca7974 ddl, session: set charset and coordinate collation (#21034) 2020-11-16 19:03:26 +08:00
975bbaf294 ddl: release memory cache for all tidb-servers when unlock tables (#21006)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-13 18:06:05 +08:00
99bdecc966 ddl: fix float precision larger than 53 (#20458) 2020-11-13 14:08:36 +08:00
718f9589a4 ddl, test: fix deadloop in test about doDDLJob (#19815) 2020-11-13 11:43:03 +08:00
a81c89f89b ddl: support column type change from date time type to other types (#20778) 2020-11-12 19:06:42 +08:00
208d271e2e ddl, placement: Provide API to obtain the DC information of partitions (#20931) 2020-11-12 14:11:51 +08:00
a089e3b8a9 DDL: display process of some DDL operations (#19923) (#20401) 2020-11-12 13:01:58 +08:00
637449add6 ddl: support table option 'pre_split_regions' for auto_random column (#20515) 2020-11-12 12:40:23 +08:00
dd32482f1b ddl: Fix default value of a newly added enum column (#20798) 2020-11-11 21:20:53 +08:00
e608e4bca9 ddl: fix the enum's default value where create table (#20849) 2020-11-11 20:18:17 +08:00
d184120a99 ddl: use kv.Key as reorg progress marker instead of kv.Handle (#20908) 2020-11-11 18:47:23 +08:00
38f876044f ddl: ignore integer zerofill size attribute when changing the column types (#20862) 2020-11-11 15:22:37 +08:00
ee77412f54 executor, kv, store/tikv: support cache for point select (#20396) 2020-11-11 10:41:49 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00