VTAB_INNOCUOUS top-level constant

int const VTAB_INNOCUOUS

Calls of the form sqlite3_vtab_config(db,SQLITE_VTAB_INNOCUOUS) from within the the xConnect or xCreate methods of a virtual table implmentation identify that virtual table as being safe to use from within triggers and views.

Conceptually, the SQLITE_VTAB_INNOCUOUS tag means that the virtual table can do no serious harm even if it is controlled by a malicious hacker. Developers should avoid setting the SQLITE_VTAB_INNOCUOUS flag unless absolutely necessary.

Implementation

const VTAB_INNOCUOUS = 2;