MySQL :: MySQL 5.0 Reference Manual :: 14.2.7.3 SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE M

MySQL :: MySQL 5.0 Reference Manual :: 14.2.7.3 SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE M

瀏覽:1432
日期:2025-12-16
Locking of rows for update using SELECT FOR UPDATE only applies when autocommit is disabled (either by beginning transaction with START TRANSACTION or by setting autocommit to 0. If autocommit is enabled, the rows ......看更多