提交 4ef44393 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add note about OFFSET / FETCH with FOR UPDATE

上级 62f49f0b
......@@ -41,7 +41,8 @@ of H2 please use parentheses.
If FOR UPDATE is specified, the tables or rows are locked for writing.
This clause is not allowed in DISTINCT queries and in queries with non-window aggregates, GROUP BY, or HAVING clauses.
When using default MVStore engine only the selected rows are locked as in an UPDATE statement.
When using default MVStore engine only the selected rows are locked as in an UPDATE statement;
locking behavior for rows that were excluded from result using OFFSET / FETCH is undefined.
With PageStore engine the whole tables are locked.
","
SELECT * FROM TEST;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论