SQLITE_SERIALIZE_NOCOPY(3) Library Functions Manual SQLITE_SERIALIZE_NOCOPY(3)

SQLITE_SERIALIZE_NOCOPYflags for sqlite3_serialize

#include <sqlite3.h>

#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 () 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 ().

These declarations were extracted from the interface documentation at line 10686.

#define SQLITE_SERIALIZE_NOCOPY 0x001   /* Do no memory allocations */

sqlite3_deserialize(3), sqlite3_serialize(3)

January 24, 2024 NetBSD 11.0