SQLITE3_TEST_CONTROL(3) Library Functions Manual SQLITE3_TEST_CONTROL(3)

sqlite3_test_controltesting interface

#include <sqlite3.h>

int
sqlite3_test_control(int op, ...);

The sqlite3_test_control() interface is used to read out internal state of SQLite and to inject faults into SQLite for testing purposes. The first parameter is an operation code that determines the number, meaning, and operation of all subsequent parameters.

This interface is not for use by applications. It exists solely for verifying the correct operation of the SQLite library. Depending on how the SQLite library is compiled, this interface might not exist.

The details of the operation codes, their meanings, the parameters they take, and what they do are all subject to change without notice. Unlike most of the SQLite API, this function is not guaranteed to operate consistently from one release to the next.

These declarations were extracted from the interface documentation at line 8264.

SQLITE_API int sqlite3_test_control(int op, ...);
January 24, 2024 NetBSD 11.0