Skip to content

Commit

Permalink
sql: add a link about regular expression compatibilit with MySQL (#17475
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hfxsd authored May 14, 2024
1 parent 566d006 commit 84730ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion functions-and-operators/string-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2323,7 +2323,7 @@ Output:

## Regular expression compatibility with MySQL

The following sections describe the regular expression compatibility with MySQL.
The following sections describe the regular expression compatibility with MySQL, including `REGEXP_INSTR()`, `REGEXP_LIKE()`, `REGEXP_REPLACE()`, and `REGEXP_SUBSTR()`.

### Syntax compatibility

Expand Down
4 changes: 4 additions & 0 deletions mysql-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ The following column types are supported by MySQL but **not** by TiDB:

- `SQL_TSI_*` (includes SQL_TSI_MONTH, SQL_TSI_WEEK, SQL_TSI_DAY, SQL_TSI_HOUR, SQL_TSI_MINUTE, and SQL_TSI_SECOND, but excludes SQL_TSI_YEAR)

### Regular expressions

For information about TiDB regular expression compatibility with MySQL, including `REGEXP_INSTR()`, `REGEXP_LIKE()`, `REGEXP_REPLACE()`, and `REGEXP_SUBSTR()`, see [Regular expression compatibility with MySQL](/functions-and-operators/string-functions.md#regular-expression-compatibility-with-mysql).

### Incompatibility due to deprecated features

TiDB does not implement specific features deprecated in MySQL, including:
Expand Down

0 comments on commit 84730ca

Please sign in to comment.