Name

sqlite3_finalize() — Finalize and release a prepared statement

Definition

int sqlite3_finalize( sqlite3_stmt* stmt );
stmt

A prepared statement

Returns

An SQLite result code.

Description

This function finalizes prepared statements. Finalizing a statement releases any internal resources and deallocates any memory. Once a statement has been finalized, it is no longer valid and cannot be reused.

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.