Skip to content

Commit

Permalink
sql: update the comment about "null -> not null"
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Jan 1, 2019
1 parent e91dd1b commit 07462c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/ddl.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ table_option:
- 具体支持的整型类型有:`TinyInt``SmallInt``MediumInt``Int``BigInt`
- 具体支持的字符串类型有:`Char``Varchar``Text``TinyText``MediumText``LongText`
- 具体支持的 Blob 类型有:`Blob``TinyBlob``MediumBlob``LongBlob`
- 在修改类型定义方面,支持的包括 `default value``comment``null``not null``OnUpdate`,但是不支持从 `null``not null` 的修改
- 在修改类型定义方面,支持的包括 `default value``comment``null``not null``OnUpdate`
- 不支持对 `enum` 类型的列进行修改

* `LOCK [=] {DEFAULT|NONE|SHARED|EXCLUSIVE}` 目前只是语法支持。
Expand Down
2 changes: 1 addition & 1 deletion sql/mysql-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ TiDB 实现了 F1 的异步 Schema 变更算法,DDL 执行过程中不会阻
* 具体支持的整型类型有:TinyInt,SmallInt,MediumInt,Int,BigInt。
* 具体支持的字符串类型有:Char,Varchar,Text,TinyText,MediumText,LongText。
* 具体支持的 Blob 类型有:Blob,TinyBlob,MediumBlob,LongBlob。
- 在修改类型定义方面,支持的包括 default value,comment,null,not null 和 OnUpdate,但是不支持从 null 到 not null 的修改
- 在修改类型定义方面,支持的包括 default value,comment,null,not null 和 OnUpdate。
- 支持 LOCK [=] {DEFAULT|NONE|SHARED|EXCLUSIVE} 语法,但是不做任何事情(pass through)。
- 不支持对enum类型的列进行修改

Expand Down

1 comment on commit 07462c8

@aioas
Copy link

@aioas aioas commented on 07462c8 Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What version of this feature is updated? 2.1.6 is not available yet.

Please sign in to comment.