xref: /netbsd-src/external/public-domain/sqlite/man/SQLITE_SERIALIZE_NOCOPY.3 (revision 51db93b1e55befe059298d8824a0c056de72eba2)
1.Dd December 19, 2018
2.Dt SQLITE_SERIALIZE_NOCOPY 3
3.Os
4.Sh NAME
5.Nm SQLITE_SERIALIZE_NOCOPY
6.Nd Flags for sqlite3_serialize
7.Sh SYNOPSIS
8.Fd #define SQLITE_SERIALIZE_NOCOPY
9.Sh DESCRIPTION
10Zero or more of the following constants can be OR-ed together for the
11F argument to sqlite3_serialize(D,S,P,F).
12.Pp
13SQLITE_SERIALIZE_NOCOPY means that sqlite3_serialize()
14will return a pointer to contiguous in-memory database that it is currently
15using, without making a copy of the database.
16If SQLite is not currently using a contiguous in-memory database, then
17this option causes sqlite3_serialize() to return
18a NULL pointer.
19SQLite will only be using a contiguous in-memory database if it has
20been initialized by a prior call to sqlite3_deserialize().
21.Sh SEE ALSO
22.Xr sqlite3_deserialize 3 ,
23.Xr sqlite3_serialize 3
24