SQLite VDBE opcode

CursorLock

Lock the btree to which cursor P1 is pointing so that the btree cannot be written by an other cursor.

An example

None of the 178 statements we compiled against the sample database with SQLite 3.54.1 uses CursorLock. Some opcodes appear only in debugging builds or with particular compile-time options, and some only in rare query plans.

What the SQLite documentation says

Lock the btree to which cursor P1 is pointing so that the btree cannot be written by an other cursor.

From sqlite.org's list of opcodes for SQLite 3.54.1, in the public domain. Opcodes are not a stable interface and change between releases.

← CursorHint · CursorUnlock →