5352e7c65c
ddl: use the Options to reorganize the NewDDL paramaters ( #11966 )
2019-09-02 10:09:44 +08:00
bb84d1bdba
planner: allow insert default into generated columns ( #11901 )
2019-08-30 17:45:40 +08:00
25e134cd6e
ddl: fix add unique index on partitioned table (by RANGE COLUMNS) failed ( #11946 )
2019-08-30 16:01:06 +08:00
073ab9b6a3
*: refactor RestrictedSQLExecutor ( #11904 )
2019-08-28 19:17:19 +08:00
a8026859d4
ddl: make ddl test more stable ( #11897 )
2019-08-28 12:46:35 +08:00
295033f59b
ddl: tiny refine the checkForNullValue function. ( #11833 )
...
change "select count(*) from `%s`.`%s` where `%s` is null limit 1"
to "select 1 from `%s`.`%s` where `%s` is null limit 1"
The later would return when the first row meets the condition, thus scanning the whole table is avoided
2019-08-23 17:06:18 +08:00
5d88749b6f
ddl: refine pre-split region logic ( #11794 )
2019-08-20 19:17:36 +08:00
1c1faab678
*: convert key to hex for logs ( #11781 )
2019-08-20 11:10:16 +08:00
9f01c7b497
ddl: handle index key type in CreateIndex
2019-08-16 00:00:29 +08:00
adb3071c90
*: refine the attribute definition of types.Time and types.Dur… ( #11672 )
2019-08-14 11:30:40 +08:00
6d51ad33fd
*: Optimize struct memory usage by adjust field order ( #11629 )
2019-08-13 17:20:53 +08:00
fc9def1e5f
ddl,meta: Generate global IDs in bulk to reduce the number of lock acquisition ( #11635 )
2019-08-09 14:55:33 +08:00
d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
036e7e207d
*: support new 'log' format for trace ( #11681 )
2019-08-09 12:43:33 +08:00
110b073aa7
ddl: Fix generated column can refer only to generated columns defined prior to it. ( #11549 )
2019-08-08 11:58:33 +08:00
497a9b83e9
ddl: make ddl test more stable ( #11657 )
2019-08-07 21:15:42 +08:00
265b654809
model: add schema name, table name to ddl job. ( #11561 )
2019-08-05 17:30:23 +08:00
129c0afdc6
executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal ( #11480 )
2019-08-02 16:50:10 +08:00
10e8498dd6
ddl: fix a bug that adding range partition meets error when value is negative ( #11407 )
2019-08-01 17:29:35 +08:00
29970ca353
DDL: fix a bug in column charset and collate when create table and modify column ( #11300 )
...
* fix a bug in column charset and collate when create table and modify column
* extract the fix code logic to a func
* fix multiple collate specified in column
* add more test for multiple column collate
* add more Err case for multiple column collate
* fix comment format
2019-07-24 16:06:37 +08:00
05f66f4384
ddl: fix invalid index on multi-layer virtual columns ( #11260 )
2019-07-24 11:15:22 +08:00
3b6d2f475f
executor/split: return split result when do split region and refine split timeout logic. ( #11259 )
2019-07-23 17:35:13 +08:00
e0e5b50bf3
test: port lock table ut from mysql ( #10376 )
2019-07-23 16:45:47 +08:00
388ce88743
ddl: refine ddl error when do ddl error cause by infoschema is changed ( #11308 )
2019-07-23 16:18:48 +08:00
88db7ff17b
infoschema: fix compatibility of auto_increment column value o… ( #10207 )
2019-07-23 15:52:29 +08:00
435a912d29
ddl: disallow dropping index on auto_increment column ( #11360 )
2019-07-23 15:13:24 +08:00
eb9e749a40
ddl: add check for max index key length when alter modify/change column ( #11220 )
2019-07-23 14:26:04 +08:00
d47b65570d
ddl: don't rely on expression.Column.ColName ( #11255 )
2019-07-23 13:56:11 +08:00
85de5df03f
ddl: fix the parallel problem of "set default value" and other DDL ( #11341 )
2019-07-20 09:09:35 +08:00
7f3bff8afe
session: do not keep history when the transaction retry is disabled ( #11192 )
2019-07-12 12:42:33 +08:00
d36d663934
ddl: refine error messages in unsupported column options ( #11065 )
2019-07-12 12:10:53 +08:00
2ea24e0201
ddl: do not split index when creating table ( #11183 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2019-07-11 13:26:09 +08:00
c8794803b5
*: add admin cleanup table lock syntax support ( #10423 )
2019-07-10 12:54:09 +08:00
89baed8e17
ddl: scatter the regions of table when creating them ( #10980 )
2019-07-10 11:09:14 +08:00
61ac37b835
ddl: fix the issue that the length of the index is 0. ( #11045 )
2019-07-08 19:15:30 +08:00
fe0ed731e4
ddl: a better way to fix data race against #10900 ( #11121 )
2019-07-08 16:05:10 +08:00
c1bd3b1cc7
ddl: constant or timezone-dependent expressions in partition should not be allowed ( #10655 )
2019-07-08 15:46:15 +08:00
247a07f4fd
ddl: allow more charset/collation modifications for database/table ( #10958 )
2019-07-04 17:04:17 +08:00
e1f2b3728d
*: make assertion check more reasonable ( #10424 )
...
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
fba5e6feff
lock: add delay clean table lock when session close ( #11038 )
2019-07-04 14:59:37 +08:00
755875aacb
ddl: disallow modifying the generated expression of stored or indexed column ( #10932 )
2019-07-03 17:28:21 +08:00
1061d2a5b8
ddl: fix ddl modify column from null to not null bug: check null value again before change to no null ( #10948 )
2019-07-03 10:11:12 +08:00
ff82b62b97
*: refactor the optional arguments for table.AddRecord and index.Create ( #11018 )
2019-07-02 15:51:29 +08:00
6542e4ae94
ddl: add recover for run ddl job ( #10981 )
2019-07-02 09:08:06 +08:00
f29b36ca1d
*: fix malformed SQL statements in test ( #10992 )
2019-07-01 10:37:35 +08:00
b63a8bfedf
meta: make auto increment id can be adjust. ( #10978 )
2019-06-28 22:26:08 +08:00
0d563f1e2d
stats: fix unstable test ( #10953 )
2019-06-27 13:51:16 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
a935d93990
*: support IF EXISTS/IF NOT EXISTS for some DDLs ( #10723 )
2019-06-24 19:46:26 +08:00
a0b4d0e9a3
type/compatibility: fix show create table output of generated column ( #9608 )
2019-06-24 11:03:39 +08:00