Skip to content

Commit

Permalink
cherry pick #3036 to release-1.1 (#3040)
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
  • Loading branch information
ti-srebot and DanielZhangQD authored Jul 30, 2020
1 parent d893fdc commit e062366
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/api-references/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3680,7 +3680,8 @@ bool
<td>
<em>(Optional)</em>
<p>Whether enable the syntax like <code>auto_random(3)</code> on the primary key column.
imported from TiDB v3.1.0</p>
Imported from TiDB v3.1.0.
Deprecated in TiDB v4.0.3, please check detail in <a href="https://docs.pingcap.com/tidb/dev/release-4.0.3#improvements">https://docs.pingcap.com/tidb/dev/release-4.0.3#improvements</a>.</p>
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/pingcap/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pkg/apis/pingcap/v1alpha1/tidb_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ type IsolationRead struct {
// +k8s:openapi-gen=true
type Experimental struct {
// Whether enable the syntax like `auto_random(3)` on the primary key column.
// imported from TiDB v3.1.0
// Imported from TiDB v3.1.0.
// Deprecated in TiDB v4.0.3, please check detail in https://docs.pingcap.com/tidb/dev/release-4.0.3#improvements.
// +optional
AllowAutoRandom *bool `toml:"allow-auto-random,omitempty" json:"allow-auto-random,omitempty"`
// Whether enable creating expression index.
Expand Down

0 comments on commit e062366

Please sign in to comment.