summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-05-03 14:48:00 +0300
committerunknown <heikki@donna.mysql.fi>2001-05-03 14:48:00 +0300
commit1a40dcc8bbe052f3e96a1943cbc3470d0cce2525 (patch)
treefdc6fe9921950cb737cfcd08120bb98df411052e
parent5461e6717c588b3c566c7edb4cd1b0d662e1a92c (diff)
downloadmariadb-git-1a40dcc8bbe052f3e96a1943cbc3470d0cce2525.tar.gz
manual.texi Update MySQL manual about the syntax change to ...LOCK IN SHARE MODE
Docs/manual.texi: Update MySQL manual about the syntax change to ...LOCK IN SHARE MODE
-rw-r--r--Docs/manual.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index bf73afa73ab..3b76a6aeeba 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -19769,7 +19769,7 @@ SELECT [STRAIGHT_JOIN] [SQL_SMALL_RESULT] [SQL_BIG_RESULT] [SQL_BUFFER_RESULT]
[ORDER BY @{unsigned_integer | col_name | formula@} [ASC | DESC] ,...]
[LIMIT [offset,] rows]
[PROCEDURE procedure_name]
- [FOR UPDATE | IN SHARE MODE]]
+ [FOR UPDATE | LOCK IN SHARE MODE]]
@end example
@c help end
@@ -24976,10 +24976,10 @@ happen that meanwhile some other user has deleted the parent row
from the table @code{PARENT}, and you are not aware of that.
The solution is to perform the @code{SELECT} in a locking
-mode, @code{IN SHARE MODE}.
+mode, @code{LOCK IN SHARE MODE}.
@example
-SELECT * FROM PARENT WHERE NAME = 'Jones' IN SHARE MODE;
+SELECT * FROM PARENT WHERE NAME = 'Jones' LOCK IN SHARE MODE;
@end example
Performing a read in share mode means that we read the latest
@@ -25078,7 +25078,7 @@ table.
@code{SELECT ... FROM ...} : this is a consistent read, reading a
snapshot of the database and setting no locks.
@item
-@code{SELECT ... FROM ... IN SHARE MODE} : sets shared next-key locks
+@code{SELECT ... FROM ... LOCK IN SHARE MODE} : sets shared next-key locks
on all index records the read encounters.
@item
@code{SELECT ... FROM ... FOR UPDATE} : sets exclusive next-key locks