Name

sqlite3_backup_finish() — Complete an online backup [EXP]

Definition

int sqlite3_backup_finish( sqlite3_backup* backup );
backup

An online backup handle.

Returns

An SQLite result code. A value of SQLITE_OK will be returned even if the backup was not completed.

Description

This function releases an online backup handle. The backup handle will be released without error, even if sqlite3_backup_step() never returned SQLITE_DONE.

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.