Skip to content

Commit

Permalink
Update auto-increment.md
Browse files Browse the repository at this point in the history
Co-authored-by: Grace Cai <[email protected]>
  • Loading branch information
tangenta and qiancai committed Sep 6, 2024
1 parent 3384747 commit df6600a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-increment.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ SHOW CREATE TABLE t;
1 row in set (0.00 sec)
```

此时如果重启了 TiDB,缓存会丢失,重新进行隐式分配:
此时如果重启 TiDB,自增 ID 缓存将会丢失。新的插入操作将从一个之前缓存范围外的更高的 ID 值开始分配。

```sql
INSERT INTO t VALUES();
Expand Down

0 comments on commit df6600a

Please sign in to comment.