Name

sqlite3_enable_load_extension() — Enable or disable dynamic extension loading

Definition

int sqlite3_enable_load_extension( sqlite3* db, int enabled );
db

A database connection.

enabled

An enable/disable flag. A nonzero value will enable dynamic modules, while a zero value will disable them.

Returns

An SQLite result code.

Description

This function enables or disables the ability to load dynamic modules. For security reasons, dynamic modules are disabled by default and must be explicitly enabled.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.