Skip to content

Commit

Permalink
Update doc according to pingcap/tidb#22860
Browse files Browse the repository at this point in the history
  • Loading branch information
nayuta-yanagisawa committed Feb 27, 2021
1 parent 48f8700 commit df30ae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ mysql> DESC t1;

## MySQL compatibility

* TiDB does not support temporary tables, but it ignores the `CREATE TEMPORARY TABLE` syntax.
* TiDB does not support temporary tables. `CREATE TEMPORARY TABLE` and `DROP TEMPORARY TABLE` will return errors if and only if [`tidb_enable_noop_functions = 0`](/system-variables.md#tidb_enable_noop_functions-new-in-v40).
* All of the data types except spatial types are supported.
* `FULLTEXT`, `HASH` and `SPATIAL` indexes are not supported.
* For compatibility, the `index_col_name` attribute supports the length option with a maximum length limit of 3072 bytes by default. The length limit can be changed through the `max-index-length` configuration option. For details, see [TiDB configuration file](/tidb-configuration-file.md#max-index-length).
Expand Down
2 changes: 2 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ Constraint checking is always performed in place for pessimistic transactions (d
* `get_lock` and `release_lock` functions
* `LOCK IN SHARE MODE` syntax
* `SQL_CALC_FOUND_ROWS` syntax
* `CREATE TEMPORARY TABLE` syntax
* `DROP TEMPORARY TABLE` syntax

> **Note:**
>
Expand Down

0 comments on commit df30ae4

Please sign in to comment.