C API: Online Backup API.
(c3ref/backup_finish.html)
sqlite3_backup_init(), sqlite3_backup_step(), sqlite3_backup_finish(), sqlite3_backup_remaining(), sqlite3_backup_pagecount()
... As well as SQLITE_OK and
SQLITE_DONE, a call to sqlite3_backup_step() may return SQLITE_READONLY,
SQLITE_NOMEM, SQLITE_BUSY, SQLITE_LOCKED, or an
SQLITE_IOERR_XXX extended error code.
The sqlite3_backup_step() might return SQLITE_READONLY if
the destination database was opened read-only, or
the destination database is ...
|
C API: Binding Values To Prepared Statements
(c3ref/bind_blob.html)
sqlite3_bind_blob(), sqlite3_bind_blob64(), sqlite3_bind_double(), sqlite3_bind_int(), sqlite3_bind_int64(), sqlite3_bind_null ...
... BLOB
exceeds limits imposed by sqlite3_limit(SQLITE_LIMIT_LENGTH) or
SQLITE_MAX_LENGTH.
SQLITE_RANGE is returned if the parameter
index is out of range. SQLITE_NOMEM is returned if malloc() fails.
See also: sqlite3_bind_parameter_count(),
sqlite3_bind_parameter_name(), and sqlite3_bind_parameter_index().
See also lists of
Objects,
Constants, and
Functions.
|
The Error And Warning Log
(errlog.html)
3. Variety of Error Messages
... SQLITE_WARNING messages are logged when database files are renamed or
aliased in ways that can lead to database corruption.
(See 1 and 2 for
additional information.)
Out of memory (OOM) error conditions generate error logging events
with the SQLITE_NOMEM error ...
|
Defense Against The Dark Arts
(security.html)
1.1. Untrusted SQL Inputs
... If (say) 5 MB of memory
is provided for SQLite to use, once that much has been consumed,
SQLite will start returning SQLITE_NOMEM errors rather than
soaking up memory needed by other parts of the application.
This also sandboxes SQLite ...
|
Transaction
(lang_transaction.html)
... database in use by another process
SQLITE_NOMEM: out of memory
For all of these errors, SQLite attempts to undo just the one statement
it was working on and leave changes from prior statements within the
same transaction intact and continue ...
|
Result and Error Codes
(rescode.html)
4. Primary Result Code List
... 2)
SQLITE_INTERRUPT (9)
SQLITE_IOERR (10)
SQLITE_LOCKED (6)
SQLITE_MISMATCH (20)
SQLITE_MISUSE (21)
SQLITE_NOLFS (22)
SQLITE_NOMEM (7)
SQLITE_NOTADB (26)
SQLITE_NOTFOUND (12)
SQLITE_NOTICE (27)
SQLITE_OK (0)
SQLITE_PERM (3)
SQLITE_PROTOCOL (15 ...
|
SQLite Session Module C/C++ Interface
(session.html)
... Or, if an out-of-memory condition
occurs during processing, this function returns SQLITE_NOMEM.
In all cases, if an error occurs the state of the final contents of the
changegroup is undefined. If no error occurs, SQLITE_OK is returned.
Delete ...
|
C/C++ Interface For SQLite Version 3 (old)
(capi3.html)
... define SQLITE_BUSY 5 /* The database file is locked */
#define SQLITE_LOCKED 6 /* A table in the database is locked */
#define SQLITE_NOMEM 7 /* A malloc() failed */
#define SQLITE_READONLY 8 /* Attempt to write a readonly database */
#define SQLITE_INTERRUPT 9 /* Operation terminated by sqlite_interrupt ...
|
The C language interface to SQLite Version 2
(c_interface.html)
... define SQLITE_BUSY 5 /* The database file is locked */
#define SQLITE_LOCKED 6 /* A table in the database is locked */
#define SQLITE_NOMEM 7 /* A malloc() failed */
#define SQLITE_READONLY 8 /* Attempt to write a readonly database */
#define SQLITE_INTERRUPT 9 /* Operation terminated by sqlite_interrupt ...
|
Dynamic Memory Allocation In SQLite
(malloc.html)
1. Features
... Failing that, SQLite will either stop what
it is doing and return the
SQLITE_NOMEM error code back up to the application or it will
make do without the requested memory.
No memory leaks.
The application is responsible for destroying any ...
|
Page generated by FTS5 in about 17.39 ms.