在线文档教程
Sqlite
C界面 | C Interface

Destroy a snapshot

Destroy a snapshot

void sqlite3_snapshot_free(sqlite3_snapshot*

Important: This interface is experimental and is subject to change without notice.

The sqlite3_snapshot_free(P) interface destroys sqlite3_snapshot P. The application must eventually free every sqlite3_snapshot object using this routine to avoid a memory leak.

The sqlite3_snapshot_free() interface is only available when the SQLITE_ENABLE_SNAPSHOT compile-time option is used.

See also lists of Objects, Constants, and Functions.

SQLite is in the Public Domain.

https://sqlite.org/c3ref/snapshot_free.html