SQLITE_SERIALIZE_NOCOPY(3) Library Functions Manual SQLITE_SERIALIZE_NOCOPY(3)

SQLITE_SERIALIZE_NOCOPY
Flags for sqlite3_serialize

#define SQLITE_SERIALIZE_NOCOPY

Zero or more of the following constants can be OR-ed together for the F argument to sqlite3_serialize(D,S,P,F).

SQLITE_SERIALIZE_NOCOPY means that sqlite3_serialize() will return a pointer to contiguous in-memory database that it is currently using, without making a copy of the database. If SQLite is not currently using a contiguous in-memory database, then this option causes sqlite3_serialize() to return a NULL pointer. SQLite will only be using a contiguous in-memory database if it has been initialized by a prior call to sqlite3_deserialize().

sqlite3_deserialize(3), sqlite3_serialize(3)
December 19, 2018 NetBSD 9.0