Skip to content

Commit

Permalink
Update character-set-and-collation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hongshaoyang authored Apr 1, 2024
1 parent 010f6c2 commit f1845ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions character-set-and-collation.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,15 @@ INSERT INTO t VALUES ('a');
```
```sql
ERROR 1062 (23000): Duplicate entry 'a' for key 't.PRIMARY' # TiDB is compatible with the case-insensitive collation of MySQL.
ERROR 1062 (23000): Duplicate entry 'a' for key 't.PRIMARY' -- TiDB is compatible with the case-insensitive collation of MySQL.
```
```sql
INSERT INTO t VALUES ('a ');
```
```sql
ERROR 1062 (23000): Duplicate entry 'a ' for key 't.PRIMARY' # TiDB modifies the `PADDING` behavior to be compatible with MySQL.
ERROR 1062 (23000): Duplicate entry 'a ' for key 't.PRIMARY' -- TiDB modifies the `PADDING` behavior to be compatible with MySQL.
```
> **Note:**
Expand Down

0 comments on commit f1845ca

Please sign in to comment.