Skip to content

Commit 1a1f293

Browse files
authored
Update access-mode-significance.sql
1 parent 593672f commit 1a1f293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql-queries-11/lock-single-row-mysql/access-mode-significance.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ READ ONLY;
44
START TRANSACTION;
55
SELECT *
66
FROM DEPARTMENT
7-
WHERE id=5
7+
WHERE id = 5
88
FOR UPDATE;
99

1010
SET TRANSACTION
1111
READ ONLY;
1212
START TRANSACTION;
1313
SELECT *
1414
FROM DEPARTMENT
15-
WHERE id=5
15+
WHERE id = 5
1616
FOR SHARE;

0 commit comments

Comments
 (0)