mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
clarify BEGIN IMMEDIATE is used when AutoCommit is off
Clarify that `BEGIN IMMEDIATE` is used when `AutoCommit` is off rather than when in `AutoCommit` mode.
This commit is contained in:
parent
1633c095e1
commit
214cb720b6
1 changed files with 2 additions and 1 deletions
|
@ -1374,7 +1374,8 @@ could create a separate transaction and write to the database after
|
|||
the C<BEGIN> on the current thread has executed, and eventually
|
||||
cause a "deadlock". To avoid this, DBD::SQLite internally issues
|
||||
a C<BEGIN IMMEDIATE> when you begin a transaction by
|
||||
C<begin_work> or under the C<AutoCommit> mode (since 1.38_01).
|
||||
C<begin_work> or execute a statement with C<AutoCommit> disabled
|
||||
(since 1.38_01).
|
||||
|
||||
If you really need to turn off this feature for some reasons,
|
||||
set C<sqlite_use_immediate_transaction> database handle attribute
|
||||
|
|
Loading…
Add table
Reference in a new issue