Skip to content

Commit bc0c961

Browse files
authored
Update mysql_lock.md
1 parent 6006ced commit bc0c961

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mysql/lock/mysql_lock.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ MySQL 里面表级别的锁有这几种:
9898
lock tables t_student read;
9999

100100
//表级别的独占锁,也就是写锁;
101-
lock tables t_stuent wirte;
101+
lock tables t_stuent write;
102102
```
103103

104104
需要注意的是,表锁除了会限制别的线程的读写外,也会限制本线程接下来的读写操作。

0 commit comments

Comments
 (0)