Skip to content

Commit 018e6c8

Browse files
authored
tidb: Add ENGINE_ATTRIBUTE table option (#20148)
1 parent 6f45174 commit 018e6c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql-statements/sql-statement-create-table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ TableOption ::=
109109
PartDefOption
110110
| DefaultKwdOpt ( CharsetKw EqOpt CharsetName | 'COLLATE' EqOpt CollationName )
111111
| ( 'AUTO_INCREMENT' | 'AUTO_ID_CACHE' | 'AUTO_RANDOM_BASE' | 'AVG_ROW_LENGTH' | 'CHECKSUM' | 'TABLE_CHECKSUM' | 'KEY_BLOCK_SIZE' | 'DELAY_KEY_WRITE' | 'SHARD_ROW_ID_BITS' | 'PRE_SPLIT_REGIONS' ) EqOpt LengthNum
112-
| ( 'CONNECTION' | 'PASSWORD' | 'COMPRESSION' ) EqOpt stringLit
112+
| ( 'CONNECTION' | 'ENGINE_ATTRIBUTE' | 'PASSWORD' | 'COMPRESSION' ) EqOpt stringLit
113113
| RowFormat
114114
| ( 'STATS_PERSISTENT' | 'PACK_KEYS' ) EqOpt StatsPersistentVal
115115
| ( 'STATS_AUTO_RECALC' | 'STATS_SAMPLE_PAGES' ) EqOpt ( LengthNum | 'DEFAULT' )
@@ -128,7 +128,7 @@ PlacementPolicyOption ::=
128128
| "PLACEMENT" "POLICY" (EqOpt | "SET") "DEFAULT"
129129
```
130130

131-
The following *table_options* are supported. Other options such as `AVG_ROW_LENGTH`, `CHECKSUM`, `COMPRESSION`, `CONNECTION`, `DELAY_KEY_WRITE`, `ENGINE`, `KEY_BLOCK_SIZE`, `MAX_ROWS`, `MIN_ROWS`, `ROW_FORMAT` and `STATS_PERSISTENT` are parsed but ignored.
131+
The following *table_options* are supported. Other options such as `AVG_ROW_LENGTH`, `CHECKSUM`, `COMPRESSION`, `CONNECTION`, `DELAY_KEY_WRITE`, `ENGINE`, `KEY_BLOCK_SIZE`, `MAX_ROWS`, `MIN_ROWS`, `ROW_FORMAT` and `STATS_PERSISTENT` are parsed but ignored. `ENGINE_ATTRIBUTE` is parsed but always returns the `ERROR 3981 (HY000): Storage engine does not support ENGINE_ATTRIBUTE` error. This option is reserved for future use.
132132

133133
| Options | Description | Example |
134134
| ---------- | ---------- | ------- |

0 commit comments

Comments
 (0)