Lines Matching refs:returned

237 ** verify that values returned by these interfaces match the macros in
276 ** prefix is omitted from any strings returned by
458 ** on error message strings returned through the 5th parameter of
1223 ** is not large enough, [SQLITE_CANTOPEN] should be returned. Since this is
1517 ** xRealloc is always a value returned by a prior call to xRoundup.
1896 ** when the "current value" returned by
1960 ** But once the trigger or virtual table method ends, the value returned
1965 ** successful [INSERT] and does not change the value returned by this
1983 ** then the value returned by [sqlite3_last_insert_rowid()] is
2031 ** However, the number returned does not include changes
2038 ** while [sqlite3_changes()] is running then the value returned
2048 ** ^(The count returned by sqlite3_total_changes() includes all changes
2065 ** returned is unpredictable and not meaningful.
2124 ** memory allocation fails, then SQLITE_NOMEM is returned.
2156 ** is returned immediately upon encountering the lock. ^If the busy callback
2164 ** access the database and [SQLITE_BUSY] is returned
2245 ** string representation as returned by [sqlite3_column_text()].
2315 ** The strings returned by these two routines should be
2421 ** ^Calling sqlite3_free() with a pointer previously returned
2444 ** of the prior allocation are copied into the beginning of buffer returned
2449 ** ^The memory returned by sqlite3_malloc() and sqlite3_realloc()
2491 ** was last reset. ^The values returned by [sqlite3_memory_used()] and
2499 ** [sqlite3_memory_highwater()] is true. ^The value returned
2564 ** been read if [SQLITE_OK] had been returned. The [SQLITE_IGNORE]
2624 ** returned from the [sqlite3_vtab_on_conflict()] interface.
2756 ** returned in *ppDb, even if an error occurs. The only exception is that
2760 ** [SQLITE_OK] is returned. Otherwise an [error code] is returned.)^ ^The
2784 ** already exist, an error is returned.</dd>)^
2789 ** case the database must already exist, otherwise an error is returned.</dd>)^
2847 ** error is returned to the caller. ^The fragment component of a URI, if
3022 ** zero is returned.
3251 ** otherwise an [error code] is returned.
3257 ** that is returned (the [sqlite3_stmt] object) contains a copy of the
3275 ** interfaces, the underlying reason for the error is returned immediately.
3409 ** ^The sqlite3_value object returned by
3455 ** a pointer to the [sqlite3_stmt] object returned from
3521 ** ^[SQLITE_RANGE] is returned if the parameter
3522 ** index is out of range. ^[SQLITE_NOMEM] is returned if malloc() fails.
3573 ** nameless, then NULL is returned. ^The returned string is
3588 ** index value returned is suitable for use as the second
3590 ** is returned if no matching parameter is found. ^The parameter
3612 ** ^Return the number of columns in the result set returned by the
3631 ** ^The returned string pointer is valid until either the [prepared statement]
3639 ** NULL pointer is returned.
3655 ** ^The name of the database or table or column can be returned as
3659 ** ^The returned string is valid until the [prepared statement] is destroyed
3665 ** ^The names returned are the original un-aliased names of the
3669 ** ^These functions return information about the Nth result column returned by
3673 ** ^If the Nth column returned by the statement is an expression or
3706 ** returned result set of that [SELECT] is a table column (not an
3708 ** column is returned.)^ ^If the Nth column of the result set is an
3709 ** expression or subquery, then a NULL pointer is returned.
3710 ** ^The returned string is always UTF-8 encoded.
3751 ** [extended result codes] might be returned as well.
3766 ** is returned each time a new row of data is ready for processing by the
3777 ** the more specific error code is returned directly by sqlite3_step().
3782 ** previously returned [SQLITE_ERROR] or [SQLITE_DONE]. Or it could
3787 ** [sqlite3_reset()] was required after sqlite3_step() returned anything
3807 ** then the more specific [error codes] are returned directly
3822 ** [sqlite3_step](P) returned [SQLITE_DONE]. ^The sqlite3_data_count(P)
3823 ** will return non-zero if previous call to [sqlite3_step](P) returned
3873 ** that was returned from [sqlite3_prepare_v2()] or one of its variants)
3875 ** should be returned. ^The leftmost column of the result set has the index 0.
3882 ** [sqlite3_step()] has returned [SQLITE_ROW] and neither
3885 ** [sqlite3_finalize()] or after [sqlite3_step()] has returned
3893 ** of the result column. ^The returned value is one of [SQLITE_INTEGER],
3895 ** returned by sqlite3_column_type() is only meaningful if no type
3897 ** the value returned by sqlite3_column_type() is undefined. Future
3919 ** ^The values returned by [sqlite3_column_bytes()] and
3921 ** of the string. ^For clarity: the values returned by
3925 ** ^Strings returned by sqlite3_column_text() and sqlite3_column_text16(),
3929 ** ^The object returned by [sqlite3_column_value()] is an
3932 ** If the [unprotected sqlite3_value] object returned by
3972 ** Note that when type conversions occur, pointers returned by prior
4013 ** ^The pointers returned are valid until a type conversion occurs as
4016 ** and BLOBs is freed automatically. Do <b>not</b> pass the pointers returned
4021 ** of these routines, a default value is returned. The default value
4077 ** [prepared statement] S returned [SQLITE_ROW] or [SQLITE_DONE],
4114 ** will result in [SQLITE_MISUSE] being returned.
4296 ** The [SQLITE_INTEGER | datatype] after conversion is returned.)^
4298 ** Please pay particular attention to the fact that the pointer returned
4331 ** the same buffer is returned. Sqlite3_aggregate_context() is normally
4504 ** returned by SQLite as a result of an error in a function. ^By default,
4791 ** requested from the operating system is returned.
4924 ** returned by sqlite3_db_handle is the same [database connection]
4938 ** a NULL pointer is returned.
4940 ** ^The filename returned by this function is the output of the
5092 ** successfully. An [error code] is returned otherwise.)^
5216 ** ^Metadata is returned by writing to the memory locations passed as the 5th
5232 ** ^The memory pointed to by the character pointers returned for the
5236 ** ^If the specified table is actually a view, an [error code] is returned.
5254 ** cannot be found, an [error code] is returned and an error message left
5302 ** otherwise an error will be returned.
5509 ** will be returned by the strategy.
5544 sqlite3_int64 estimatedRows; /* Estimated number of rows returned */
5723 ** ^(On success, [SQLITE_OK] is returned and the new [BLOB handle] is written
5724 ** to *ppBlob. Otherwise an [error code] is returned and *ppBlob is set
5783 ** SQLite error code is returned and the blob handle is considered aborted.
5812 ** ^Calling this routine with a null pointer (such as would be returned
5840 ** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is
5841 ** less than zero, [SQLITE_ERROR] is returned and no data is read.
5849 ** Otherwise, an [error code] or an [extended error code] is returned.)^
5874 ** [SQLITE_ERROR] is returned and no data is written. ^If N is
5875 ** less than zero [SQLITE_ERROR] is returned and no data is written.
5887 ** Otherwise, an [error code] or an [extended error code] is returned.)^
5911 ** ^If there is no match, a NULL pointer is returned.
5912 ** ^If zVfsName is NULL then the default VFS is returned.
6000 ** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or
6006 ** mutex types, the same mutex is returned on every call that has
6113 ** called, but only if the prior call to xMutexInit returned SQLITE_OK.
6222 ** open database file, then SQLITE_ERROR is returned. ^This error
6293 ** ^The current value of the parameter is returned into *pCurrent.
6294 ** ^The highest recorded value is returned in *pHighwater. ^If the
6307 ** interfaces. However the values returned in *pCurrent and
6322 ** that can be returned by [sqlite3_status()].
6332 ** this parameter. The amount returned is the sum of the allocation
6338 ** internal equivalents). Only the value returned in the
6350 ** value returned is in pages, not in bytes.</dd>)^
6357 ** returned value includes allocations that overflowed because they
6364 ** handed to [pagecache memory allocator]. Only the value returned in the
6371 ** [SQLITE_CONFIG_SCRATCH]. The value returned is in allocations, not
6380 ** returned include overflows because the requested allocation was too
6388 ** handed to [scratch memory allocator]. Only the value returned in the
6555 ** ^The current value of the requested counter is returned.
6596 ** then the value returned by this statement status code is undefined.
6723 ** The pBuf element of the returned sqlite3_pcache_page object will be a
6889 ** returned and an error code and error message are stored in the
6910 ** then an [error code] is returned. ^As well as [SQLITE_OK] and
6928 ** [SQLITE_BUSY] is returned to the caller. ^In this case the call to
6932 ** is called, then [SQLITE_LOCKED] is returned immediately. ^Again, in this
6935 ** [SQLITE_READONLY] is returned, then
6959 ** When sqlite3_backup_step() has returned [SQLITE_DONE], or when the
6964 ** ^If sqlite3_backup_step() has not yet returned [SQLITE_DONE], then any
6969 ** ^The value returned by sqlite3_backup_finish is [SQLITE_OK] if no
6989 ** ^The values returned by these functions are only updated by
7055 ** shared-cache lock and SQLITE_LOCKED is returned to the caller, the
7122 ** system in a deadlocked state, then SQLITE_LOCKED is returned and no
7140 ** returned. In this case there is no "blocking connection", so invoking
7145 ** One way around this problem is to check the extended error code returned
7228 ** code is returned, that error will propagate back up through the
7343 ** lock cannot be obtained and SQLITE_BUSY is returned. Even if there is a
7355 ** without blocking any further. SQLITE_BUSY is returned in this case.
7362 ** attached databases and SQLITE_BUSY is returned to the caller. If any other
7364 ** and the error code returned to the caller immediately. If no error
7366 ** databases, SQLITE_OK is returned.
7369 ** mode, SQLITE_OK is returned and both *pnLog and *pnCkpt set to -1. If
7371 ** attached database, SQLITE_ERROR is returned to the caller.
7455 ** value returned is one of [SQLITE_ROLLBACK], [SQLITE_IGNORE], [SQLITE_FAIL],
7466 ** These constants are returned by [sqlite3_vtab_on_conflict()] to
9222 ** number of columns of data returned by the statement.
10458 int nChange; /* Value returned by sqlite3_changes() */
10459 int nTotalChange; /* Value returned by sqlite3_total_changes() */
11055 ** is returned. REPLACE means that preexisting database rows that caused
14133 int isError; /* Error code returned by the function. */
14159 ** The "sqlite3_stmt" structure pointer that is returned by sqlite3_prepare()
14468 ** highwater mark is meaningless and is returned as zero.
15065 ** Or, if an error does occur, set *pRc to SQLITE_ERROR. The returned value
15853 ** means the commit really has failed and an error should be returned
17121 ** are made and returned by the xMalloc() and xRealloc()
17153 ** a header that is not returned to the user.
17576 ** size returned omits the 8-byte header overhead. This only
17810 ** are made and returned by the xMalloc() and xRealloc()
17990 ** size returned omits the 8-byte header overhead. This only
18855 ** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or
18861 ** mutex types, the same mutex is returned on every call that has
19550 ** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or
19556 ** mutex types, the same mutex is returned on every call that has
20275 ** argument to xRealloc is always a value returned by a prior call to
20507 ** The returned value is normally a copy of the second argument to this
20509 ** invocation SQLITE_NOMEM is returned instead.
20512 ** then the connection error-code (the value returned by sqlite3_errcode())
20651 ** always returned.
20736 int nsd; /* Number of significant digits returned */
21257 ** after the attempted enlargement. The value returned might be zero.
22140 ** NULL is returned if there is an allocation error.
22340 ** The value returned will never be negative. Nor will it ever be greater
22342 ** than 1GiB) the value returned might be less than the true string length.
22932 ** of bytes written is returned.
23832 ** element is created and NULL is returned.
23835 ** new data replaces the old data and the old data is returned.
23837 ** the new data is returned and the hash table is unchanged.
24775 ** recognized system call name. NULL is also returned if the system call
25004 ** a locking-related function (i.e. fcntl()) has returned non-zero with
25140 ** the object is returned. A new vxworksFileId object is created
25353 ** will be returned to SQLite (e.g. SQLITE_IOERR_DELETE, SQLITE_CANTOPEN).
25683 ** Zero is returned if the call completes successfully, or -1 if a call
27498 int rc = 0; /* Value returned by system call */
27752 ** SQLITE_OK is returned. If an error occurs, either SQLITE_NOMEM
27753 ** or SQLITE_CANTOPEN is returned and *pFd is set to an undefined
27769 ** If SQLITE_OK is returned, the caller is responsible for closing
28616 ** If an error occurs, an error code is returned and *pp is set to NULL.
28620 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
28627 ** memory and SQLITE_OK returned.
28679 ** false, exit early. *pp will be set to NULL and SQLITE_OK returned.
29058 ** SQLITE_OK is returned if no error occurs (even if the mapping is not
29738 ** If a suitable file descriptor is found, then it is returned. If no
29739 ** such file descriptor is located, -1 is returned.
29755 ** ignored and -1 is returned. The caller will try to open a new file
29785 ** to create new files with. If no error occurs, then SQLITE_OK is returned
29788 ** returned and the value of *pMode is not modified.
29886 int *pOutFlags /* Output flags returned to SQLite core */
29889 int fd = -1; /* File descriptor returned by open() */
30587 ** will fail and SQLITE_BUSY is returned.
30747 unixFile **ppFile, /* unixFile created and returned by ref */
33093 ** recognized system call name. NULL is also returned if the system call
33133 ** compact it. Upon success, SQLITE_OK will be returned. Upon failure, one
33134 ** of SQLITE_NOMEM, SQLITE_ERROR, or SQLITE_NOTFOUND will be returned. The
33176 ** be returned and no changes will be made to the Win32 native heap.
33536 ** Space to hold the returned string is obtained from malloc.
33560 ** Convert Microsoft Unicode to UTF-8. Space to hold the returned string is
33588 ** Space to hold the returned string is obtained
33618 ** Space to hold the returned string is obtained from
33645 ** returned string is obtained from sqlite3_malloc().
33662 ** returned string is obtained from sqlite3_malloc().
33805 ** will be returned to SQLite (e.g. SQLITE_IOERR_DELETE, SQLITE_CANTOPEN).
34315 DWORD dwRet; /* Value returned by SetFilePointer() */
34316 DWORD lastErrno; /* Value returned by GetLastError() */
34349 BOOL bRet; /* Value returned by SetFilePointerEx() */
34555 DWORD lastErrno = NO_ERROR; /* Value returned by GetLastError() */
35753 ** If an error occurs, an error code is returned and *pp is set to NULL.
35757 ** separate process), then *pp is set to NULL and SQLITE_OK returned. If
35764 ** memory and SQLITE_OK returned.
35808 ** zero, exit early. *pp will be set to NULL and SQLITE_OK returned.
35952 ** SQLITE_OK is returned if no error occurs (even if the mapping is not
36230 ** The pointer returned in pzBuf must be freed via sqlite3_free().
36975 ** non-zero is returned from this function, the calling function must simply
37393 ** strerror_r() on Unix). After an error is returned by an OS
37403 ** otherwise (if the message was truncated). If non-zero is returned,
37844 ** an error is returned. If they are the same, zero is returned.
38626 ** Pointers to structures of this type are cast and returned as
39241 ** copy of the requested page. If one is found, it is returned.
39244 ** returned.
40374 ** associated file-descriptor is returned. FILEHANDLEID() takes an sqlite3_file
40567 ** In other cases, the error is returned to the b-tree layer. The b-tree
40573 ** code were simply returned to the user, the b-tree layer would not
41378 ** (a) the value returned by OsDeviceCharacteristics() indicates that
41380 ** (b) the value returned by OsSectorSize() is less than or equal
41387 ** If the optimization cannot be used, 0 is returned. If it can be used,
41388 ** then the value returned is the size of the journal file when it
41478 ** zMaster[0] is set to 0 and SQLITE_OK returned.
41481 ** error code is returned.
41730 ** is set to the value read from the journal header. SQLITE_OK is returned
41734 ** returned and *pNRec and *PDbSize are undefined. If JOURNAL_HDR_SZ bytes
41735 ** cannot be read from the journal file an error code is returned.
42021 int rc; /* Error code returned by pagerUnlockDb() */
42083 ** the error-code about to be returned by a pager API function. The
42084 ** value returned is a copy of the second argument to this function.
42159 ** SQLITE_OK is returned if no error occurs. If an error occurs during
42161 ** database then the IO error code is returned to the user. If the
42166 ** returned.
42369 ** skipped and SQLITE_OK is returned.
42378 ** and played back, then SQLITE_OK is returned. If an IO error occurs
42380 ** to the database file, then the IO error code is returned. If data
42382 ** corrupted, SQLITE_DONE is returned. Data is considered corrupted in
42393 ** SQLITE_NOMEM is returned.
42650 ** If an IO error within this function, an error code is returned. This
42652 ** fails, SQLITE_NOMEM is returned. Otherwise, if no IO or malloc errors
42653 ** occur, SQLITE_OK is returned.
42819 ** pager based on the value returned by the xSectorSize method
42827 ** the value returned by the xSectorSize() method rounded up to 32 if
42900 ** is then deleted and SQLITE_OK returned, just as if no corruption had
42904 ** and an error code is returned.
42920 int res = 1; /* Value returned by sqlite3OsAccess() */
43118 ** If an IO error occurs, then the IO error is returned to the caller.
43119 ** Otherwise, SQLITE_OK is returned.
43381 ** If no error occurs, SQLITE_OK is returned and the size of the database
43383 ** SQLITE_IOERR_FSTAT) is returned and *pnPage is left unmodified.
43802 ** returned to the caller of the pager API function.
43825 ** is a no-op. The value returned is the error state error code (i.e.
43842 ** fails, SQLITE_NOMEM is returned and the page size remains unchanged.
43843 ** In all other cases, SQLITE_OK is returned.
43857 ** At one point this function returned an error if the pager was in
43959 ** zeroed and SQLITE_OK returned. The rationale for this is that this
43964 ** the error code is returned to the caller and the contents of the
44108 ** If everything goes as planned, SQLITE_OK is returned. Otherwise,
44171 ** Release a reference to page pPg. pPg must have been returned by an
44208 ** a hot journal may be left in the filesystem but no error is returned
44313 ** error is encountered, then the IO error code is returned to the caller.
44436 ** SQLITE_BUSY is returned and no data is written to the database file.
44454 ** If everything is successful, SQLITE_OK is returned. If an IO error
44455 ** occurs, an IO error code is returned. Or, if the EXCLUSIVE lock cannot
44456 ** be obtained, SQLITE_BUSY is returned.
44545 ** SQLITE_OK is returned if everything goes according to plan. An
44546 ** SQLITE_IOERR_XXX error code is returned if a call to sqlite3OsOpen()
44626 ** SQLITE_OK returned. If an IO error occurs while trying to make the
44627 ** page clean, the IO error code is returned. If the page cannot be
44629 ** is returned by sqlite3PcacheMakeClean() is not called.
44757 ** successfully, SQLITE_OK is returned and *ppPager set to point to
44759 ** and error code returned. This function may return SQLITE_NOMEM
44911 int fout = 0; /* VFS flags returned by xOpen() */
44921 ** + The value returned by sqlite3OsSectorSize()
45099 ** is returned.
45109 ** SQLITE_OK returned. If no hot-journal file is present, *pExists is
45110 ** set to 0 and SQLITE_OK returned. If an IO error occurs while trying
45112 ** code is returned and the value of *pExists is undefined.
45229 ** If everything is successful, SQLITE_OK is returned. If an IO error
45231 ** rolling back a journal file, the IO error code is returned.
45467 ** successfully obtained, it is copied to *ppPage and SQLITE_OK returned.
45469 ** If the requested page is already in the cache, it is returned.
45495 ** If noContent is true, then the data returned is zeroed instead of
45504 ** an appropriate error code is returned and *ppPage is set to NULL.
45586 /* Either the call to sqlite3PcacheFetch() returned an error or the
46032 ** If an error occurs, SQLITE_NOMEM or an IO error code is returned
46265 ** function returns SQLITE_OK. Otherwise, an IO error code is returned.
46289 ** successful, or the connection is in WAL mode, SQLITE_OK is returned.
46291 ** returned.
46502 ** If an error occurs, an IO error code is returned and the pager
46503 ** moves into the error state. Otherwise, SQLITE_OK is returned.
46576 ** attempted here. Instead, the error code is returned to the caller.
46707 ** If a memory allocation fails, SQLITE_NOMEM is returned. If an error
46709 ** returned. Otherwise, SQLITE_OK.
46788 ** savepoint. If no errors occur, SQLITE_OK is returned.
47102 ** The returned value is either PAGER_LOCKINGMODE_NORMAL or
47137 ** The returned indicate the current (possibly updated) journal-mode.
47422 ** error (SQLITE_BUSY) is returned and the log connection is not closed.
47880 ** assuming a database page size of szPage bytes. The offset returned
47954 int iPrior; /* Last result returned from the iterator */
47957 int iNext; /* Next slot in aIndex[] not yet returned */
47995 ** page and SQLITE_OK is returned. If an error (an OOM or VFS error) occurs,
47996 ** then an SQLite error code is returned and *ppPage is set to 0.
48721 ** to must remain valid for the lifetime of the returned Wal* handle.
48729 ** If the log file is successfully opened, SQLITE_OK is returned and
48731 ** an SQLite error code is returned and *ppWal is left unmodified.
48809 ** has not been returned by any prior invocation of this method on the
49525 ** this routine during the current read attempt that returned WAL_RETRY.
49531 ** chance that SQLITE_PROTOCOL could be returned because of a run of really
49598 ** which might cause WAL_RETRY to be returned even if BUSY_RECOVERY
49609 ** must be zeroed before the requested page is returned.
49972 ** returned to the caller.
50066 ** SQLITE_OK is returned if no error is encountered (regardless of whether
50067 ** or not pWal->hdr.mxFrame is modified). An SQLite error code is returned
51170 ** then pgno is returned. So (pgno==PTRMAP_PAGENO(pgsz, pgno)) can be
51847 ** already been called and returned SQLITE_OK).
51849 ** SQLITE_OK is returned if the lock is added successfully. SQLITE_NOMEM
51850 ** is returned if a malloc attempt fails.
52286 ** returned by sqlite3BtreeKeyFetch() or sqlite3BtreeDataFetch()
52396 ** An error code is returned if something goes wrong, otherwise SQLITE_OK.
52564 /* The value returned by this function should always be the same as
53008 ** returned if it does.
53907 ** enabled 1 is returned. Otherwise 0.
53930 ** SQLITE_OK is returned on success. If the file is not a
53931 ** well-formed database file, then SQLITE_CORRUPT is returned.
53932 ** SQLITE_BUSY is returned if the database is locked. SQLITE_NOMEM
53933 ** is returned if we run out of memory.
54209 ** returned when there is already a read-lock in order to avoid a deadlock.
54686 ** SQLITE_DONE is returned. If it is not finished, but no error occurred,
54687 ** SQLITE_OK is returned. Otherwise an SQLite error code.
54726 ** If SQLITE_OK is returned, then *pnTrunc is set to the number of pages
54807 ** Once this is routine has returned, the only thing required to commit
55363 ** If an error occurs an SQLite error code is returned. Otherwise:
55442 ** SQLITE_OK is returned on success, otherwise an error code.
55691 ** wrong. An error is returned if "offset+amt" is larger than
55708 ** wrong. An error is returned if "offset+amt" is larger than
55737 ** returned will not be a valid pointer.
55746 ** The pointer returned by this routine looks directly into the cached
55770 ** The pointer returned is ephemeral. The key/data may move
56316 ** TRUE will be returned after a call to sqlite3BtreeNext() moves
56318 ** the first entry. TRUE is also returned if the table is empty.
56515 ** SQLITE_OK is returned on success. Any other return value indicates
56517 ** Do not invoke sqlite3PagerUnref() on *ppPage if an error is returned.
56525 ** anywhere on the free-list, then it is guaranteed to be returned. If
56526 ** eMode is BTALLOC_LT then the page returned will be less than or equal
56528 ** are no restrictions on which page is returned.
58299 ** page and SQLITE_OK is returned. In this case the caller is required
58301 ** an error code is returned and *ppChild is set to 0.
58484 ** been performed. seekResult is the search result returned (a negative
59211 ** SQLITE_OK is returned if the operation is successfully executed.
59213 ** corruption) an SQLite error code is returned.
59703 ** malloc is returned if *pnErr is non-zero. If *pnErr==0 then NULL is
59704 ** returned. If a memory allocation error occurs, NULL is returned.
59890 ** are allocated, zeroed, and returned to the caller. For each subsequent
59892 ** of memory returned.
59895 ** allocated, a null pointer is returned. If the blob has already been
59896 ** allocated, it is returned as normal.
59964 ** no modifications are made and SQLITE_CORRUPT is returned.
60133 ** the values returned may be invalid. There is no way for a call to
60200 ** If an error occurs, NULL is returned and an error code and error message
60885 ** SQLITE_OK is returned if the conversion is successful (or not required).
60886 ** SQLITE_NOMEM may be returned if a malloc() fails during conversion
60904 /* MemTranslate() may return SQLITE_OK or SQLITE_NOMEM. If NOMEM is returned,
61050 ** keys are strings. In the former case a NULL pointer is returned the
61190 ** a floating-point then the value returned is the integer part.
61523 ** either case, SQLITE_TOOBIG is returned.
61667 ** except the data returned is in the encoding specified by the second
62062 ** Unless an error is encountered, SQLITE_OK is returned. It is not an
62064 ** occur, an SQLite error code is returned.
62158 ** Unless it is NULL, the argument must be an UnpackedRecord object returned
62484 ** Zero is returned if a malloc() fails.
62747 ** to arrange for the returned array to be eventually freed using the
62750 ** Before returning, *pnOp is set to the number of entries in the returned
62753 ** returned program.
63109 ** routine, then a pointer to a dummy VdbeOp will be returned. That opcode
64060 ** Set the number of result columns that will be returned by this SQL
64084 ** Set the name of the idx'th column to be returned by the SQL statement.
64397 ** If an IO error occurs, an SQLITE_IOERR_XXX error code is returned.
64490 ** lock contention, return SQLITE_BUSY. If SQLITE_BUSY is returned, it
64697 ** returned by calls to sqlite3_errcode() and sqlite3_errmsg()).
65287 ** If an OOM error occurs, NULL is returned.
65635 ** returned.
66152 ** This routine sets the value to be returned by subsequent calls to
66199 ** The returned value must be freed by the caller using sqlite3ValueFree().
66303 ** the sqlite3_compile() routine. The integer returned is an SQLITE_
66307 ** This routine sets the error code and string returned by
66331 ** the prior execution is returned.
66333 ** This routine sets the error code and string returned by
66637 ** previous sqlite3_step() returned something other than a SQLITE_LOCKED
66722 ** returned if this statement was compiled using the legacy
66725 ** contains the value that would be returned if sqlite3_finalize()
66855 ** same context that was returned on prior calls.
67025 ** column value (i.e. a value returned by evaluating an SQL expression in the
67126 ** name is returned. Here are the names:
67168 ** Return the name of the Nth column of the result set returned by SQL
67211 ** NULL is returned if the result column is an expression or constant or
67227 ** NULL is returned if the result column is an expression or constant or
67243 ** NULL is returned if the result column is an expression or constant or
67266 ** out of range, then SQLITE_RANGE is returned. Othewise SQLITE_OK.
67529 ** an SQLITE_ERROR is returned. Nothing else can go wrong, so otherwise
67530 ** SQLITE_OK is returned.
67654 ** then the returned string holds a copy of zRawSql with "-- " prepended
67662 ** The calling function is responsible for making sure the memory returned
68853 ** P1 is the result code returned by sqlite3_exec(), sqlite3_reset(),
69470 ** be returned. This is used by the built-in min(), max() and nullif()
69566 /* If the function returned an error, throw an exception */
70836 ** an error is returned to the user. */
72260 ** change counter (returned by subsequent calls to sqlite3_changes()).
74199 ** xNext(). Instead, if an error occurs, true is returned (indicating that
74200 ** data is available) and the error code returned when xColumn or
74272 ** is successful, then the value returned by sqlite3_last_insert_rowid()
74372 ** Or if P4 is blank, use the string returned by sqlite3_sql().
74571 ** If successful, SQLITE_OK is returned and subsequent calls to
74576 ** blob handle was opened, then an error code is returned and *pzErr may
74646 sqlite3_blob **ppBlob /* Handle for accessing the blob returned here */
74914 ** returned, clean-up the statement handle.
74963 ** contain a blob or text value, then an error code is returned and the
77607 ** The left-most column is 1. In other words, the value returned is the
78114 ** if errors is returned.
78248 ** affinity of that column is returned. Otherwise, 0x00 is returned,
78293 ** and the pExpr parameter is returned unchanged.
79020 ** The value returned includes space to create a copy of the Expr struct
79132 ** argument. If an OOM condition is encountered, NULL is returned
79170 ** If the EXPRDUP_REDUCE flag is set, then the structure returned is a
79313 ** NULL is returned. If non-NULL is returned, then it is guaranteed
79753 ** The returned value of this function indicates the b-tree type, as follows:
80593 ** not guaranteed. The location of the column value is returned.
82609 ** argument and the result returned. Examples:
82735 ** returned. This is analagous to renameTableFunc() above, except for CREATE
82835 ** "name=<constant>" is returned, where <constant> is the quoted version
82836 ** of the string passed as argument zConstant. The returned buffer is
82840 ** If argument zWhere is not NULL, then the string returned is
82877 ** temporary database, NULL is returned.
82885 ** returned, loop through the tables list of triggers. For each trigger
82960 ** Or, if zName is not a system table, zero is returned.
84207 ** The content to returned is determined by the parameter J
85194 ** is returned. In this case, even if SQLITE_ENABLE_STAT3/4 was defined
85200 ** returned. However, in this case, data is read from the sqlite_stat1
85901 ** SQLITE_OK is returned, it means that access is allowed. SQLITE_DENY
85925 ** user-supplied authorization function returned an illegal value.
85937 ** If SQLITE_IGNORE is returned and pExpr is not NULL, then pExpr is changed
86028 ** is returned, then the error count and error message in pParse are
86371 ** first matching table is returned. (No checking for duplicate table
86464 ** table and the first matching index is returned. (No checking
86726 ** token. Space to hold the returned string
86734 ** are not \000 terminated and are not persistent. The returned string
86811 ** database "xxx" is returned.
87183 ** found, the corresponding affinity is returned. If zType contains
87186 ** SQLITE_AFF_INTEGER is returned.
87200 ** SQLITE_AFF_NUMERIC is returned.
87473 ** returned instead.
87476 ** another error occurs, NULL is returned and an error message written into
87528 ** identifier. The number returned includes any quotes used
89474 ** returned. *pIdx is set to the index of the new array entry in this case.
89477 ** unchanged and a copy of pArray returned.
89508 ** A new IdList is returned, or NULL if malloc() fails.
89628 ** A SrcList is returned, or NULL if there is an OOM error. The returned
90240 ** So there might be multiple references to the returned pointer. The
90243 ** The caller should invoke sqlite3KeyInfoUnref() on the returned object
90578 ** that uses encoding enc. The value returned indicates how well the
90589 ** The returned value is always between 0 and 6, as follows:
90689 ** If nArg is -2, then the first valid function found is returned. A
90695 ** number of arguments may be returned even if the eTextRep flag does not
90734 ** install a new function. Whatever FuncDef structure is returned it will
91069 int rcauth; /* Value returned by authorization callback */
91192 ** this optimization caused the row change count (the value returned by
92992 /* IMP: R-64894-50321 The string "?000" is returned if the argument
93445 ** SQLITE_CONSTRAINT_FOREIGNKEY is returned and the current
93569 ** If successful, zero is returned. If the parent key is an INTEGER PRIMARY
93599 ** then non-zero is returned, and a "foreign key mismatch" error loaded
93600 ** into pParse. If an OOM error occurs, non-zero is returned and the
93625 ** space for the aiCol array (returned via output parameter *paiCol).
94510 ** returned (these actions require no special handling by the triggers
94519 ** then the returned trigger structure is equivalent to:
94525 ** The returned pointer is cached as part of the foreign key object. It
94992 ** The 2nd register is the one that is returned. That is all the
96389 ** ROWID table) is returned in *piDataCur. The first index cursor is
96390 ** returned in *piIdxCur. The number of indices is returned.
98679 ** Note that the values returned are one less that the values that
99016 ** page cache size. The value returned is the maximum number of
99620 ** the returned data set are:
100449 ** then 0 is returned. Setting the busy_timeout to 0 or negative
100993 ** Otherwise, the schema is loaded. An error code is returned.
101062 ** attached database is returned.
101331 ** and so if a schema change occurs, SQLITE_SCHEMA is returned by
101417 ** and so if a schema change occurs, SQLITE_SCHEMA is returned by
102038 int nExpr /* Number of result columns returned by SELECT */
102112 ** values returned by the SELECT are not required.
102683 ** Also try to estimate the size of the returned value and return that
102768 ** "(SELECT t1.col)", the correct type is returned (see the TK_SELECT
105015 ** is returned as appropriate. Also, *ppMinMax is set to point to the
105019 ** WHERE_ORDERBY_NORMAL is returned.
105055 ** <tbl> is returned. Otherwise, 0 is returned.
105182 ** If a non-NULL value is returned, set *ppContext to point to the With
105183 ** object that the returned CTE belongs to.
105236 ** Whether or not a match is found, SQLITE_OK is returned if no error
105238 ** parser and some error code other than SQLITE_OK returned.
105964 ** The results are returned according to the SelectDest structure.
106598 ** where the Table structure returned represents table <tbl>.
107044 char **azResult /* Result returned from from sqlite3_get_table() */
107427 ** If an OOM error occurs, NULL is returned and db->mallocFailed is set.
107741 SrcList *pSrc; /* SrcList to be returned */
107983 ** being returned.
108135 ** Bit 0 of the returned mask is set if the left-most column of the
108139 ** with an index greater than 32 may be accessed, 0xffffffff is returned.
108144 ** Parameter isNew must be either 1 or 0. If it is 0, then the mask returned
108149 ** included in the returned mask if the TRIGGER_BEFORE bit is set in the
108151 ** included in the returned mask if the TRIGGER_AFTER bit is set in tr_tm.
108225 ** from the P4 parameter of the OP_Column instruction, is returned instead.
109908 ** of the virtual table pTab. If an error occurs, an error code is returned
109980 ** description of the error and an SQLITE_XXX error code is returned.
110241 ** processing is abandoned and the error returned to the caller of this
110243 ** SQLITE_OK is returned.
110836 ** this structure is returned by the first half and passed
110958 ** the rowids returned by a WHERE clause. Return FALSE if doing an
110966 ** Any cursors returned will have been opened for writing.
111083 ** The index in pWC->a[] of the new WhereTerm is returned on success.
111084 ** 0 is returned if the new WhereTerm could not be added due to a memory
111463 ** The term returned might by Y=<expr> if there is another constraint in
112247 ** the start of the loop will prevent any results from being returned.
112290 ** If such an expression is found, its index in pList->a[] is returned. If
112291 ** no expression is found, -1 is returned.
112624 ** by passing the pointer returned by this function to sqlite3_free().
112737 ** non-zero value is returned. Otherwise, 0 is returned and the output
112740 ** Whether or not an error is returned, it is the responsibility of the
112768 "table %s: xBestIndex returned an invalid plan", pTab->zName);
112928 ** If an error occurs, an SQLite error code is returned. Otherwise,
113078 ** ($P:$L) and the larger of the two returned values used.
113181 ** Estimate the number of rows that will be returned based on
113247 ** Estimate the number of rows that will be returned based on
113467 ** in consecutive registers and the index of the first register is returned.
113499 ** a key to search the index. Hence the first byte in the returned affinity
113625 ** SQL expression. Or, if all rows are scanned, NULL is returned.
113636 ** The returned pointer points to memory obtained from sqlite3DbMalloc().
114075 ** a single iteration. This means that the first row returned
116266 ** this function may be called on the returned WhereInfo object. It returns
116381 ** case the purpose of this call is to estimate the number of rows returned
121045 ** returned. If the input is not a keyword, TK_ID is returned.
121643 ** passed in. An SQLITE_ status code is returned. If an error occurs
123514 ** is returned and the mallocFailed flag cleared.
123723 ** is returned.
123740 ** profile function is returned.
123947 ** returned (i.e. SQLITE_IOERR). Otherwise, SQLITE_OK.
123954 ** checkpointed. If an error is encountered it is returned immediately -
123987 ** The value returned depends on the value of db->temp_store (runtime
124341 ** If successful, SQLITE_OK is returned. In this case *ppVfs is set to point to
124347 ** If an error occurs, then an SQLite error code is returned and *pzErrMsg
125119 /* The following block stores the meta information that will be returned
125396 ** The integer returned reveals the byte-order of the computer on which
125897 ** is returned the transaction on connection db will still be
126358 ** code. If SQLITE_OK is returned, then *ppTokenizer should be set
126402 ** identified by the byte offsets returned in *piStartOffset and
126421 int *piPosition /* OUT: Number of tokens returned before this one */
127152 ** The number of bytes written is returned.
127201 ** 32-bit integer before it is returned.
127607 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
127638 ** being returned directly each column of text data is passed to an SQL
127641 ** string is returned:
127645 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
127649 ** a NULL pointer is returned). Otherwise, if an OOM error is encountered
127650 ** by this function, NULL is returned and *pRc is set to SQLITE_NOMEM. If
127698 ** user-defined text columns, the following string is returned:
127702 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
127706 ** a NULL pointer is returned). Otherwise, if an OOM error is encountered
127707 ** by this function, NULL is returned and *pRc is set to SQLITE_NOMEM. If
127740 ** If *pp does not being with a decimal digit SQLITE_ERROR is returned and
127741 ** the output value undefined. Otherwise SQLITE_OK is returned.
127768 ** If no error occurs, SQLITE_OK is returned and *apIndex set to point to
127770 ** array. If an error does occur, an SQLite error code is returned.
127772 ** Regardless of whether or not an error is returned, it is the responsibility
127834 ** If the table cannot be found, an error code is returned and the output
127836 ** returned (and the output variables are undefined).
127864 /* Loop through the returned columns. Set nStr to the number of bytes of
128557 ** If an OOM error occurs, SQLITE_NOMEM is returned. Otherwise, SQLITE_OK.
128672 ** It is possible that the range of returned leaf nodes does not contain
128678 ** If an error occurs, an error code other than SQLITE_OK is returned.
129229 ** containing the output doclist and SQLITE_OK is returned. In this case
129232 ** If an error occurs, an SQLite error code is returned. The output values
129383 ** The value returned is the number of bytes written to pOut (if any).
129611 /* Read the values returned by the SELECT into local variables. */
129678 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
129702 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
129850 ** Return SQLITE_OK if nothing goes wrong. SQLITE_OK is returned
130253 ** output variable *ppCsr and SQLITE_OK is returned. Otherwise, an error
130254 ** message is written to context pContext and SQLITE_ERROR returned. The
130807 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
130843 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
130955 ** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code.
131523 ** If no error occurs, SQLITE_OK is returned and sqlite3Fts3DeferToken()
131525 ** returned.
131731 ** leaves 0 positions, zero is returned. Otherwise, non-zero.
131933 ** match the current row, 0 is returned. The position lists may or may not
131934 ** be edited if 0 is returned.
132019 ** the appropriate SQLite error code. In this case the returned value is
132286 ** SQLITE_OK is returned if the aMI[] array is successfully allocated and
132287 ** populated. Otherwise, if an error occurs, an SQLite error code is returned.
132381 ** If no error occurs, SQLITE_OK is returned and the values for each column
132434 ** The returned value is either NULL or a pointer to a buffer containing
132438 ** More specifically, the returned buffer contains 1 varint for each
132442 ** for 'X' is requested, the buffer returned may contain:
132704 int rc; /* value returned by declare_vtab() */
133456 ** If successful, SQLITE_OK is returned and *ppExpr set to point at the
133458 ** error) or SQLITE_ERROR (tokenization error) is returned and *ppExpr set
133577 ** If SQLITE_ERROR is returned, pContext is populated with an error message.
133792 ** If successful, SQLITE_OK is returned, *ppExpr is set to point to the
133795 ** (out of memory error) or SQLITE_ERROR (parse error) is returned.
133964 ** If successful, SQLITE_OK is returned and (*pp) set to point to the
133969 ** Otherwise, if an error occurs, an SQLite error code is returned and
134164 ** of the parsed expression tree and SQLITE_OK is returned. If an error
134166 ** error) is returned and *ppExpr is set to 0.
134304 ** NULL is returned.
134307 ** the returned expression text and then freed using sqlite3_free().
134785 ** flag is set. NULL is returned.
134788 ** new data replaces the old data and the old data is returned.
134790 ** the new data is returned and the hash table is unchanged.
134904 int iToken; /* index of next token to be returned */
134940 ** used to incrementally tokenize this string is returned in
135120 ** match. Not that TRUE is returned even if xCond() fails and
135449 sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by porterOpen */
135564 ** an error is returned.
135566 ** Whether or not the <pointer> argument is specified, the value returned
135740 ** added to the returned list. The first is the token position, the
136052 int iToken; /* index of next token to be returned */
136117 ** used to incrementally tokenize this string is returned in
136165 sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by simpleOpen */
136346 ** array of dequoted strings and SQLITE_OK is returned. The caller is
136348 ** in this case. Or, if an error occurs, an SQLite error code is returned.
136521 ** just been returned by fts3tokOpenMethod().
136978 ** *pp is set to the requested statement handle and SQLITE_OK returned.
136979 ** Otherwise, an SQLite error code is returned and *pp is set to 0.
137327 ** Append a single varint to a PendingList buffer. SQLITE_OK is returned
137375 ** is returned if the structure is sqlite3_realloced as part of adding
137379 ** Zero is always returned in this case. Otherwise, if no OOM error occurs,
137480 ** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code.
137803 ** with 0, so the allocated index is one greater than the value returned
137813 ** returned. Otherwise, an SQLite error code is returned.
137872 ** an SQLite error code is returned. Otherwise, SQLITE_OK is returned. If
137874 ** eventually free the returned buffer.
137881 ** before control is returned to the user (to prevent a lock being held
137996 ** segment. If successful, SQLITE_OK is returned. If there is no next term,
138345 ** If the isPrefixIter parameter is zero, then the returned SegReader iterates
138809 ** If successful, SQLITE_OK is returned and output variable *piLast is
138812 ** returned.
138881 ** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code.
139023 ** returned. Otherwise, an SQLite error code.
139077 ** document pRowid, or false otherwise, and SQLITE_OK is returned. If an
139078 ** error occurs, an SQLite error code is returned.
139140 ** is returned. If an error occurs, an error code is returned and the
139201 ** SQLITE_OK is returned if successful, otherwise an SQLite error code.
139599 ** and a single term returned with the merged doclist.
139842 ** segment in the database, SQLITE_DONE is returned immediately.
139843 ** Otherwise, if successful, SQLITE_OK is returned. If an error occurs,
139844 ** an SQLite error code is returned.
140439 ** If successful, SQLITE_OK is returned and the NodeReader object set to
140441 ** error code is returned.
140568 ** returned. Otherwise, SQLITE_OK.
141245 ** SQLITE_OK is returned if the segment is updated successfully. Or an
141755 ** If successful, the checksum value is returned and *pRc set to SQLITE_OK.
142444 ** accumulating the data returned by the matchinfo() function.
142527 ** the iteration is abandoned and the error code returned immediately.
142528 ** Otherwise, SQLITE_OK is returned after a callback has been made for
143084 ** The number of elements in the column-list is returned.
143107 ** of the matchinfo array that are constant for all rows returned by the
143142 ** array that are different for each row returned by the query.
143294 ** array before returning. SQLITE_OK is returned in this case.
143296 ** Otherwise, if an error occurs, an SQLite error code is returned and the
143369 ** be returned by the matchinfo() function. Argument zArg contains the
143381 ** occurs. If a value other than SQLITE_OK is returned, the state the
143524 /* Determine the number of integers in the buffer returned by this call. */
143569 /* The returned text includes up to four fragments of text extracted from
143978 int iToken; /* Index of next token to be returned */
144148 ** used to incrementally tokenize this string is returned in
144195 sqlite3_tokenizer_cursor *pC, /* Cursor returned by simpleOpen */
144990 ** An instance of this structure (in the form of a BLOB) is returned by
145011 ** 64 bit integer. The deserialized value is returned.
145040 ** 64 bit integer. The value returned is the number of bytes written
146122 RtreeMatchArg *pBlob; /* BLOB returned by geometry function */
146319 i64 nRow; /* Estimated rows returned by this scan */
147462 ** case, SQLITE_CONSTRAINT must be returned regardless of the
147719 ** using database connection db. If successful, the integer value returned
147720 ** is written to *piVal and SQLITE_OK returned. Otherwise, an SQLite error
147721 ** code is returned and the value of *piVal after returning is not defined.
147741 ** to. If successful, pRtree->iNodeSize is populated and SQLITE_OK returned.
147742 ** Otherwise, an SQLite error code is returned.
148022 ** The R-Tree MATCH operator will read the returned BLOB, deserialize
148024 ** out which elements of the R-Tree should be returned by the query.
148322 UErrorCode e /* Error code returned by ICU function */
148343 ** argument is an SQL NULL, then NULL Is returned. Otherwise, the result
148710 ** used to incrementally tokenize this string is returned in
148797 sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by simpleOpen */