6e085bedb6
ddl: fix create table with like bug when refer table has non-public column/index ( #9580 )
2019-03-11 20:24:45 +08:00
8e812d87c0
ddl: check no partitions error when create partition table ( #9531 )
2019-03-09 13:13:42 +08:00
0267a7fbdf
ddl: validate fsp for datetime/timestamp if they are used as defaultvalue of datetime/timestamp columns ( #9327 )
2019-03-04 11:19:11 +08:00
7ac4902b8f
ddl: disallow generated column referring to auto_increment column ( #9234 )
2019-03-01 11:50:13 +08:00
d60b3ff512
ddl: don't modify a column charset when the table's version is TableInfoVersion1 ( #9480 )
2019-02-27 16:29:27 +08:00
511a80bae4
ddl: fix check column field length when add column ( #9143 )
2019-02-27 11:10:38 +08:00
9b692c07f4
style:fix ineffassign and mis-spell ( #9415 )
2019-02-22 18:13:04 +08:00
a5188a8370
ddl: return warnings when the alter algorithm is COPY, return errors when the algorithm is wrong ( #9367 )
2019-02-21 14:59:50 +08:00
f46c558a60
ddl,table/tables: handle partition by range column when len(column)=1 ( #9082 )
...
create table ... 'partition by range column', when len(column)=1,
the case can be transformed to 'partiton by range'
2019-02-20 17:02:14 +08:00
dec3ab6358
ddl: support alter algorithm INPLACE/INSTANT ( #8811 )
2019-02-20 10:22:26 +08:00
5bf9ad965d
ddl: check unique key constraint for 'alter table add index' on partitioned table ( #9323 )
2019-02-19 14:12:44 +08:00
b845f2a4da
executor, planner: support show create view ( #9309 )
2019-02-19 10:18:57 +08:00
94d21c57aa
* fix timestamp default value bug in multiple time zones. ( #9115 )
2019-02-18 15:35:27 +08:00
6a984412c7
ddl: use original column name in duplicate column error ( #9291 )
2019-02-14 13:15:15 +08:00
4ad4684da1
privilege,planner: handle View's security privilege check ( #9194 )
2019-02-12 10:35:18 +08:00
bcecc91362
ddl: fix default value precision problem for time types ( #9249 )
2019-02-11 12:15:09 +08:00
cfb63114c2
ddl: restricting altering the utf8 charset to utf8mb4 ( #9107 )
2019-01-22 11:20:16 +08:00
63936cc1fa
ddl: resolve the charset by the order: table->database->server ( #9105 )
2019-01-21 19:56:40 +08:00
59c7b69187
ddl: disallow alter table on view ( #8890 )
2019-01-17 00:57:21 +08:00
f522de2e8f
ddl: support "or replace" option when create view ( #8856 )
2019-01-16 19:54:22 +08:00
083b818bf4
ddl: fix NO_ZERO_DATE handled incorrectly ( #8765 )
2019-01-16 17:47:53 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
c2d349ccc0
ddl: fix changes the table charset error ( #9065 )
2019-01-15 15:57:31 +08:00
e6a0eb9246
executor: support "show create table" for View ( #8865 )
2019-01-15 13:31:22 +08:00
3c98f69266
*: support select partition for partition table ( #8990 )
2019-01-14 20:55:52 +08:00
44fd7d4670
ddl: modify different character sets varchar type column maximum length limit ( #8818 )
2019-01-14 17:39:50 +08:00
aeb68f23a6
ddl: fix rename table compatibility ( #8960 )
2019-01-07 19:03:14 +08:00
cfff96555e
Handling insertion issue when the dropping column's flag is not null and its state is 'WriteOnly' ( #8791 )
2019-01-05 09:28:44 +08:00
e646276f4b
planner,executor: basic support for DROP_VIEW ( #8758 )
2019-01-04 10:53:02 +08:00
0c8e967858
*: provide virtual table facilities ( #8657 )
2018-12-26 21:15:37 +08:00
a1a4e8197d
Revert "executor/show: show create table return utf8mb4 charset. ( #8604 ) ( #8782 )
2018-12-26 09:54:50 +08:00
3040788655
*: make errcheck work again ( #8795 )
2018-12-25 17:16:52 +08:00
ef7082da1c
ddl, executor: fix rename table compatibility ( #8709 )
2018-12-22 22:19:41 +08:00
7056bb0d32
executor, session: refine insert unsigned bigint autoIncreID ( #8181 )
2018-12-18 23:01:10 +08:00
4e8c424718
*: basic support for CREATE_VIEW ( #8571 )
2018-12-18 20:17:27 +08:00
198971f4b3
ddl: fix data race in unit test TestChangeColumn ( #8724 )
2018-12-18 14:27:49 +08:00
d69490b77e
executor/show: show create table return utf8mb4 charset. ( #8604 )
2018-12-11 19:14:37 +08:00
e03ef6099c
ddl: support alter table .. truncate partition ( #8624 )
2018-12-11 13:52:57 +08:00
1d7d01cfe8
ddl: support altering the other charset to utf8 or utf8mb4 ( #8037 )
2018-12-10 12:58:18 +08:00
6e2d6c7aa7
ddl: fix cancel drop index error ( #8504 )
2018-12-07 23:29:23 +08:00
126e44bf36
ddl: fast fail check for create index to accelerate CI ( #8592 )
...
➜ session git:(master) ✗ GO111MODULE=on go test -check.f TestIndexMaxLength
before:
ok github.com/pingcap/tidb/session 18.229s
after:
ok github.com/pingcap/tidb/session 0.146s
2018-12-06 16:45:32 +08:00
b3e40bf94f
ddl: alter table add partition on hash partitioned table ( #8375 )
2018-12-04 15:17:53 +08:00
e11859e653
*: support creating a hash partitioned table ( #8026 )
2018-11-20 16:15:09 +08:00
e8d0f210d3
ddl: add check when build enum, set column ( #8003 )
2018-11-16 21:14:51 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
b9aa731ba4
ddl: refine error msg when alter table ( #8114 )
2018-11-05 11:15:33 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
dc8b94b51f
ddl: add check when add foreign key. ( #8050 )
2018-10-31 19:11:05 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
732233ad93
ddl: add check when create table with foreign key. ( #7885 )
...
* ddl: add check when create table with foreign key
2018-10-17 20:21:10 +08:00