Lines Matching defs:zero
218 ** so the GCC_VERSION macro will be set to a correct non-zero value even
442 ** and Z will be reset to zero.
533 ** ^The sqlite3_threadsafe() function returns zero if and only if
682 ** ^The sqlite3_exec() interface runs zero or more UTF-8 encoded,
705 ** ^If an sqlite3_exec() callback returns non-zero, the sqlite3_exec()
1138 ** fails to zero-fill short reads might seem to work. However,
1139 ** failure to zero-fill short reads will eventually lead to
1287 ** That integer is 0 to disable zero-damage mode or 1 to enable zero-damage
1289 ** zero-damage mode setting.
1351 ** the array as the only argument. If it returns non-zero, then the operation
1352 ** should be retried. If it returns zero, the custom VFS should abandon the
1378 ** The argument is a zero-terminated string. Higher layers in the
1730 ** non-zero error code if there is an I/O error or if the name of
1732 ** is returned, then non-zero or zero is written into *pResOut to indicate
1984 ** then this routine returns a non-zero [error code].
2093 ** non-zero [error code] if a discontinued or unsupported configuration option
2209 ** ^If pMem is NULL and N is non-zero, then each database connection
2305 ** If non-zero, then URI handling is globally enabled. If the parameter is zero,
2475 ** non-zero [error code] if a discontinued or unsupported configuration option
2497 ** [sqlite3_db_status](D,[SQLITE_CONFIG_LOOKASIDE],...) is zero.
2595 ** is an integer - positive to disable checkpoints-on-close, or zero (the
2623 ** positive to enable output for trigger programs, or zero to disable it,
2797 ** zero.
2872 ** DELETE statement run on a view is always zero. Only changes made to real
2983 ** running statement count reaches zero are interrupted as if they had been
2985 ** that are started after the running statement count reaches zero are
3017 ** then the return value from sqlite3_complete16() will be non-zero
3020 ** The input to [sqlite3_complete()] must be a zero-terminated
3023 ** The input to [sqlite3_complete16()] must be a zero-terminated
3053 ** ^If the callback returns non-zero, then another attempt
3101 ** ^Calling this routine with an argument less than or equal to zero
3129 ** A result table is an array of pointers to zero-terminated UTF-8 strings.
3131 ** to zero-terminated strings that contain the names of the columns.
3133 ** in NULL pointers. All other values are in their UTF-8 zero-terminated
3167 ** semicolon-separated SQL statements in the zero-terminated UTF-8
3226 ** ^As long as the buffer size is greater than zero, sqlite3_snprintf()
3227 ** guarantees that the buffer is always zero-terminated. ^The first
3229 ** the zero terminator. So the longest string that can be completely
3253 ** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns
3276 ** ^If the N parameter to sqlite3_realloc(X,N) is zero or
3296 ** sqlite3_msize(X) returns zero. If X points to something that is not
3404 ** to the callback are either NULL pointers or zero-terminated strings
3638 ** NULL or if the M mask is zero, then tracing is disabled. The
3640 ** zero or more [SQLITE_TRACE] constants.
3648 ** implementations should return zero to ensure future compatibility.
3689 ** ^If the progress callback returns non-zero, the operation is
4020 ** case or if the value begins with a non-zero number. The
4023 ** if the value begins with a numeric zero. If P is not a query
4030 ** zero is returned.
4034 ** pointer if N is less than zero or greater than the number of query
4035 ** parameters minus 1. The N value is zero-based so N should be 0 to obtain
4137 ** pointer if N is zero. None of the 2*N pointers in the P array may be
4251 ** to step 2. Do this zero or more times.
4438 ** first zero terminator. ^If nByte is positive, then it is the
4439 ** number of bytes read from zSql. ^If nByte is zero, then no prepared
4502 ** the extra prepFlags parameter, which is a bit array consisting of zero or
4505 ** sqlite3_prepare_v3() with a zero prepFlags parameter.
4603 ** ^The sqlite3_stmt_readonly(X) interface returns true (non-zero) if
4664 ** ^The sqlite3_stmt_busy(S) interface returns true (non-zero) if the
4804 ** the number of bytes up to the first zero terminator.
4847 ** ^A negative value for the zeroblob results in a zero-length BLOB.
4950 ** parameter to [sqlite3_bind_blob|sqlite3_bind()]. ^A zero
4994 ** interface returns a pointer to a zero-terminated UTF-8 string
4995 ** and sqlite3_column_name16() returns a pointer to a zero-terminated
5199 ** will return non-zero if previous call to [sqlite3_step](P) returned
5201 ** where it always returns zero since each step of that multi-step
5318 ** ^If the result is NULL, then sqlite3_column_bytes() returns zero.
5327 ** ^If the result is NULL, then sqlite3_column_bytes16() returns zero.
5330 ** [sqlite3_column_bytes16()] do not include the zero terminators at the end
5336 ** even empty strings, are always zero-terminated. ^The return
5337 ** value from sqlite3_column_blob() for a zero-length BLOB is a NULL pointer.
5381 ** <tr><td> BLOB <td> TEXT <td> [CAST] to TEXT, ensure zero terminator
5393 ** sqlite3_column_text16() is called. A zero-terminator might
5541 ** representation, exclusive of the zero-terminator. ^Note that the name
5891 ** ^The sqlite3_value_frombind(X) interface returns non-zero if the
5894 ** or an expression, then sqlite3_value_frombind(X) returns zero.
5995 ** when first called if N is less than or equal to zero or if a memory
6063 ** value to the application-defined function. ^N is zero for the left-most
6145 ** a BLOB containing all zero bytes and N bytes in size.
6161 ** message all text up through the first zero character.
6204 ** zero character.
6353 ** function must return an integer that is negative, zero, or positive
6654 ** ^The sqlite3_get_autocommit() interface returns non-zero or
6655 ** zero if the given database connection is or is not in autocommit mode,
6830 ** ^If the callback on a commit hook function returns non-zero,
6850 ** ^When the commit hook callback routine returns zero, the [COMMIT]
6852 ** returns non-zero, then the [COMMIT] is converted into a [ROLLBACK].
6854 ** hook returning non-zero, just as it would be with any other rollback.
6878 ** autovacuum. ^If the callback returns zero, then no autovacuum happens.
7043 ** ^The sqlite3_release_memory() routine is a no-op returning zero
7094 ** ^Setting the heap limits to zero disables the heap limiter mechanism.
7114 ** <li> The limit value is set to zero.
7465 ** zero in the order in which they appear within the CREATE TABLE statement
7472 ** non-zero.
7812 ** ^If the flags parameter is non-zero, then the BLOB is opened for read
7813 ** and write access. ^If the flags parameter is zero, the BLOB is opened for
7867 ** zero-filled blob to read or write using the incremental-blob interface.
7905 ** always returns zero.
7960 ** less than zero, [SQLITE_ERROR] is returned and no data is read.
7994 ** writing (the flags parameter to [sqlite3_blob_open()] was zero),
8003 ** than zero [SQLITE_ERROR] is returned and no data is written.
8033 ** ^Names are zero-terminated UTF-8 strings.
8277 ** call to sqlite3_mutex_held() to fail, so a non-zero return is
8450 ** zero-terminated. The sqlite3_keyword_name(N,Z,L) routine returns
8456 ** the L-byte UTF8 identifier that Z points to is a keyword, returning non-zero
8457 ** if it is and zero if not.
8543 ** string in [sqlite3_str] object X is zero bytes long.
8561 ** S must contain at least N non-zero bytes of content. To append a
8562 ** zero-terminated string in its entirety, use the [sqlite3_str_appendall()]
8566 ** zero-terminated string S onto the end of [sqlite3_str] object X.
8573 ** inside [sqlite3_str] object X back to zero bytes in length.
8602 ** zero-termination byte.
8637 ** SQLITE_OK on success and a non-zero [error code] on failure.
8751 ** non-zero [error code] on failure.
8767 ** The [sqlite3_db_status()] interface will return a non-zero error code
8778 ** the current value is always zero.)^
8786 ** the current value is always zero.)^
8794 ** the current value is always zero.)^
8862 ** <dd>This parameter returns zero for the current value if and only if
8903 ** ^If the resetFlg is true, then the counter is reset to zero after this
8927 ** A non-zero value in this counter may indicate an opportunity to
8933 ** A non-zero value in this counter may indicate an opportunity to
9136 ** as its second argument. If the third parameter, discard, is non-zero,
9139 ** zero, then the page may be discarded or retained at the discretion of
9311 ** busy-handler returns non-zero before the lock is available, then
9557 ** ^The [sqlite3_strglob(P,X)] interface returns zero if and only if
9564 ** Note that this routine returns zero on a match and non-zero if the strings
9574 ** ^The [sqlite3_strlike(P,X,E)] interface returns zero if and only if
9587 ** Note that this routine returns zero on a match and non-zero if the strings
9666 ** more frames in the [write-ahead log] file. ^Passing zero or
9748 ** addition that it also truncates the log file to zero bytes just prior
9760 ** truncated to zero bytes and so both *pnLog and *pnCkpt will be set to zero.
9778 ** ^If parameter zDb is NULL or points to a zero length string, then the
9792 ** zDb is not NULL (or a zero length string) and is not the name of any
9859 ** where X is an integer. If X is zero, then the [virtual table] whose
9867 ** If X is non-zero, then the virtual table implementation guarantees
10104 ** ^A call to sqlite3_vtab_in(P,N,-1) will return true (non-zero)
10124 ** (non-zero), that means that the constraint is an IN operator
10291 ** to a zero-terminated UTF-8 string containing the name of the index or table
10296 ** to a zero-terminated UTF-8 string containing the [EXPLAIN QUERY PLAN]
10302 ** subquery the loop is part of. The main query has a select-id of zero.
10333 ** Loops are numbered starting from zero. ^If idx is out of range - less than
10334 ** zero or greater than or equal to the total number of loops used to implement
10335 ** the statement - a non-zero value is returned and the variable that pOut
10340 ** as if the loop did not exist - it returns non-zero and leave the variable
10671 ** clients drops to zero. If either snapshot handle was obtained before the
10676 ** snapshot than P2, zero if the two handles refer to the same database
11071 ** value is less than zero, no change is made. In all cases the (int)
11095 ** Passing zero to this function disables the session. Passing a value
11096 ** greater than zero enables it. Passing a value less than zero is a
11123 ** flag. If the second argument passed to this function is zero, then the
11124 ** indirect flag is cleared. If it is greater than zero, the indirect flag
11125 ** is set. Passing a value less than zero does not modify the current value
11174 ** rows a zero-length blob (SQL value X'') is stored in the changeset or
11180 ** zero-length blob back to a NULL value when updating the sqlite_stat1
11225 ** zero and return an SQLite error code.
11227 ** A changeset consists of zero or more INSERT, UPDATE and/or DELETE changes,
11446 ** Return non-zero if no changes to attached tables have been recorded by
11448 ** more changes have been recorded, return zero.
11450 ** Even if this function returns zero, it is possible that calling
11454 ** are restored. However, if this function returns non-zero, then it is
11456 ** changeset containing zero changes.
11474 ** is returned. Otherwise, if an error occurs, *pp is set to zero and an
12016 ** returns zero, then no attempt is made to apply any changes to the table.
12017 ** Otherwise, if the return value is non-zero or the xFilter argument to
12452 ** are set to zero and an SQLite error code returned.
12518 ** should be set to zero to indicate this. Or, if an error occurs, an SQLite
12546 ** The xOutput callback is invoked zero or more times to return data to
12557 ** parameter set to a value less than or equal to zero. Other than this,
12754 ** If parameter iCol is less than zero, set output variable *pnToken
12769 ** If parameter iCol is less than zero, set output variable *pnToken
12795 ** are numbered starting from zero.
12809 ** Phrase matches are numbered starting from zero, so the iIdx argument
12810 ** should be greater than or equal to zero and smaller than the value
12883 ** If the bClear argument is non-zero, then the auxiliary data is cleared
13340 ** It used to be the case that setting this value to zero would
13676 ** If SQLITE_MALLOC_SOFT_LIMIT is not zero, then try to keep the
13870 ** Return true (non-zero) if the input is an integer that is too large
13924 ** Hash.htsize and Hash.ht may be zero. In that case lookup is done
14255 ** to zero.
14584 ** The default MMAP_SIZE is zero on all platforms. Or, even if a larger
14712 ** macros become no-ops and have zero performance impact.
15447 ** If defined as non-zero, auto-vacuum is enabled by default. Otherwise
15633 ** For read-only cursors the wrFlag argument is always zero. For read-write
15700 ** The nMem field might be zero, indicating that no decomposition is available.
15703 ** the key and passed in the nKey field. The pKey field is zero.
15704 ** pData,nData hold the content of the new entry. nZero extra zero bytes
15731 u16 nMem; /* Number of aMem[] value. Might be zero */
15733 int nZero; /* Extra zero data appended after pData,nData */
16770 ** The "PRAGMA synchronous" statement also uses the zero-based numbers.
16771 ** In other words, the zero-based numbers are used for all external interfaces
16877 ** bDisable is greater than zero, sz is set to zero which effectively
16880 ** bDisable changes back to zero.
16902 u32 bDisable; /* Only operate the lookaside when zero */
17021 u32 nSchemaLock; /* Do not reset the schema when non-zero */
17038 u8 mTrace; /* zero or more SQLITE_TRACE flags */
17288 ** change to convert any number to another or to zero
18069 ** "colUsed & colNotIdxed" will be non-zero if the index is not a
18072 ** table is used, the "colUsed & colNotIdxed" test will always be non-zero
19167 ** Fields above must be initialized to zero. The fields that follow,
19458 #define SQLITE_NTUNE 6 /* Should be zero for all trunk check-ins */
19497 /* The above might be initialized to non-zero. The following need to always
19498 ** initially be zero, however. */
22052 ** returns negative, zero, or positive if A is less then, equal to, or
22056 ** is negative, zero, or positive, where opcode is the specific opcode.
22067 1, 0, 0, 1, 1, 0, /* aLTb[]: Use when compare(A,B) less than zero */
22068 0, 1, 0, 1, 0, 1, /* aEQb[]: Use when compare(A,B) equals zero */
22069 1, 0, 1, 0, 0, 1 /* aGTb[]: Use when compare(A,B) greater than zero*/
22256 /* All the rest should always be initialized to zero */
22620 int nZero; /* Extra zero bytes when MEM_Zero and MEM_Blob set */
22706 #define MEM_Term 0x0200 /* String in Mem.z is zero terminated */
22744 ** is set. It is "undefined" if all those bits are zero.
22851 ** initialized to zero or NULL */
23361 ** highwater mark is meaningless and is returned as zero.
23388 ** databases. *pHighwater is set to zero.
23434 ** *pHighwater is set to zero.
23458 ** to zero.
23484 /* Set *pCurrent to non-zero if there are unresolved deferred foreign
23485 ** key constraints. Set *pCurrent to zero if all foreign key constraints
23486 ** have been satisfied. The *pHighwater is always set to zero.
23663 ** return non-zero.
24007 ** non-zero on any kind of error.
24009 ** If the sqlite3GlobalConfig.bLocaltimeFault variable is non-zero then this
24437 ** If there are zero parameters (if even argv[0] is undefined)
26195 ** A value of zero turns off backtracing. The number is always rounded
27258 /* Make sure the allocated memory does not assume that it is set to zero
29069 ** is a no-op returning zero if SQLite is not compiled with
29127 ** zero disables the limit. A negative argument is a no-op used to
29167 ** Set the hard heap-size limit for the library. An argument of zero
29621 ** Allocate and zero memory.
29632 ** Allocate and zero memory. If the allocation fails, make
30167 etByte flag_zeropad; /* True if field width constant starts with zero */
30337 ** flag_prefix '+' or ' ' or zero
30610 /* The converted number is in buf[] and zero terminated. Output it.
30910 ** after the attempted enlargement. The value returned might be zero.
31005 ** Append the complete text of zero-terminated string z[] to the p string.
31013 ** Finish off a string by making sure it is zero-terminated.
33213 ** For this routine, we assume the UTF8 string is always zero-terminated.
33470 ** pZ is a UTF-8 encoded unicode string. If nByte is less than zero,
33472 ** the first 0x00 byte. If nByte is not less than zero, return the
33629 ** sqlite3FaultSim() function only returns non-zero during testing.
33687 ** The column type is an extra string stored after the zero-terminator on
33832 ** The input string must be zero-terminated. A new zero-terminator
33836 ** dequoted string, exclusive of the zero terminator, if dequoting does
34012 ** uses the encoding enc. The string is not necessarily zero-terminated.
34155 /* In the IEEE 754 standard, zero is signed. */
34259 ** value 2^63: 9223372036854775808. Return negative, zero, or positive
34301 ** The string is not necessarily zero-terminated. The encoding is
34310 int nonNum = 0; /* True if input contains UTF16 with high byte non-zero */
34357 }else if( nonNum ){ /* UTF16 with high-order bytes non-zero */
34435 ** input number to be zero-terminated.
35230 ** is always zero-terminated.
35245 ** VList are taken. When that happens, nAlloc is set to zero as an
35984 ** Both zKey and zData are zero-terminated pure text strings.
36024 ** enough to hold it all. The value put into zBuf must always be zero
36028 ** not counting the final zero terminator. Return -1 if the key does
36123 ** zero terminator at the end.
36128 ** * Non-zero bytes are encoded as upper-case hexadecimal
36130 ** * A sequence of one or more zero-bytes that are not at the
36149 ** base-26 number using a..z as the digits. So one zero is "b".
36240 int nTxt /* Bytes in zTxt, excluding zero terminator */
37482 ** The m parameter will be non-zero only when creating -wal, -journal,
37717 ** zero.
37824 ** the object when the reference count reaches zero.
38209 ** incorrectly for zero-size files. See ticket #3260. To work
38331 ** to a non-zero value otherwise *pResOut is set to zero. The return value
38386 ** zero on each call.
38872 ** count reaches zero, close any other file descriptors whose close
39035 ** (1) There is zero concurrency. A single reader blocks all other
39059 ** to a non-zero value otherwise *pResOut is set to zero. The return value
39243 ** to a non-zero value otherwise *pResOut is set to zero. The return value
39433 ** to a non-zero value otherwise *pResOut is set to zero. The return value
39676 ** to a non-zero value otherwise *pResOut is set to zero. The return value
40235 /* Unread parts of the buffer must be zero-filled */
40662 ** normal database file) and we truncate the file to zero length,
40664 ** when restoring a database using the backup API from a zero-length
40701 /* When opening a zero-size database, the findInodeInfo() procedure
40704 ** layers, we need to report this file size as zero even though it is
40741 ** correctly. posix_fallocate() is defined to "returns zero on success,
40977 ** If pFd->sectorSize is non-zero when this function is called, it is a
41401 ** DMS byte and truncate the *-shm file to zero bytes in size. Then
41471 ** the file must be truncated to zero length or have its header cleared.
41605 ** are numbered starting from zero. Each shared-memory region is szRegion
41613 ** bExtend is non-zero and the requested shared-memory region has not yet
42128 ** the mapping to create. Otherwise, if nByte is less than zero, then the
42901 ** the default permissions. In 8_3_NAMES mode, leave *pMode set to zero.
43081 /* Database filenames are double-zero terminated if they are not
43095 /* Generated temporary filenames are always double-zero terminated
43591 ** When testing, initializing zBuf[] to zero is all we do. That means
43649 ** The following variable, if set to a non-zero value, is interpreted as
43993 int islockfile /* if non zero missing dirs will be created */
44126 ** closed. Returns zero if successful.
44788 ** to a non-zero value otherwise *pResOut is set to zero. The return value
45237 ** Returns non-zero if the character should be treated as a directory
45373 BOOL bNoLock; /* Non-zero if locking is disabled. */
45397 * If this is non-zero, an isolated heap will be created by the native Win32
45403 * WARNING: It is important to note that when this setting is non-zero and the
45424 * in bytes. This value may be zero.
45464 * The initial size of the Win32-specific heap. This value may be zero.
45473 * The maximum size of the Win32-specific heap. This value may be zero.
45481 * zero for the default behavior.
46321 ** "pnLargest" argument, if non-zero, will be used to return the size of the
46361 ** the sqlite3_memory_used() function does not return zero, SQLITE_BUSY will
46479 ** Return true (non-zero) if we are running under WinNT, Win2K, WinXP,
46480 ** or WinCE. Return false (zero) for Win95, Win98, or WinME.
47064 ** is zero if the error message fits in the buffer, or non-zero
47201 ** non-zero if the error code is transient in nature and the operation
47207 ** returns zero. The "winIoerrCanRetry2" macro is completely optional and
47369 ** must be zero-initialized */
47662 ** Otherwise, set pFile->lastErrno and return non-zero.
47857 /* Unread parts of the buffer must be zero-filled */
48033 /* SetEndOfFile() returns non-zero when successful, or zero when it fails. */
48457 ** non-zero, otherwise zero.
48992 ** the file must be truncated to zero length or have its header cleared.
49269 ** are numbered starting from zero. Each shared-memory region is szRegion
49277 ** isWrite is non-zero and the requested shared-memory region has not yet
49335 ** zero, exit early. *pp will be set to NULL and SQLITE_OK returned.
49337 ** Alternatively, if isWrite is non-zero, use ftruncate() to allocate
49479 ** the mapping to create. Otherwise, if nByte is less than zero, then the
49780 ** This function returns non-zero if the specified UTF-8 string buffer
50185 /* Database filenames are double-zero terminated if they are not
50546 /* For an SQLITE_ACCESS_EXISTS query, treat a zero-length file
50592 ** Returns non-zero if the specified path name starts with the "long path"
50603 ** Returns non-zero if the specified path name starts with a drive letter
50613 ** Returns non-zero if the specified path name should be used verbatim. If
50614 ** non-zero is returned from this function, the calling function must simply
51007 ** The following variable, if set to a non-zero value, is interpreted as
51042 /* if SystemTimeToFileTime() fails, it returns zero. */
51090 ** is zero if the error message fits in the buffer, or non-zero
51091 ** otherwise (if the message was truncated). If non-zero is returned,
51334 ** or when the .nRef is less than zero and the object is not part of
51338 ** be changed (for resizing) when nMmap is zero.
51478 ** Free the underlying MemStore object when its refcount drops to zero
52271 ** This bitmap records the existence of zero or more bits
52528 ** an error is returned. If they are the same, zero is returned.
52586 ** match (rc==0). Change rc to non-zero if a discrepancy
53467 ** argument is zero. Return the effective cache-spill size, which will
54864 ** The initial batch number is zero, so if the very first TEST contains
54865 ** a non-zero batch number, it will see all prior INSERTs.
55999 ** by truncating it to zero bytes, just as if the connection were
56098 ** is set to zero in all other states. In PAGER_ERROR state, Pager.errCode
56112 ** meaning that the 0x04 and 0x08 bits are both zero.
56143 u8 doNotSpill; /* Do not spill the cache when non-zero */
56295 ** Return 0 if it is not open, or non-zero (but not 1) if it is.
56883 ** If doTruncate is non-zero or the Pager.journalSizeLimit variable is
56884 ** set to 0, then truncate the journal file to zero bytes in size. Otherwise,
56885 ** zero the 28-byte header at the start of the journal file. In either case,
56889 ** If Pager.journalSizeLimit is set to a positive, non-zero value, and
56975 ** journal header. Normally, zero is written to this value at this time.
56977 ** if in full-sync mode), the zero is overwritten with the true number
57127 ** journal header to zero. In this case, assume that the Pager.pageSize
57274 ** Pager.aSavepoint and Pager.nSavepoint to zero. Close the sub-journal
57491 ** Journal file is truncated to zero bytes in size.
58159 ** currently is, so detect this case and write a single zero byte to
58231 ** that range. But with POWERSAFE_OVERWRITE, the blast radius is zero
58269 ** (7) zero padding out to the next sector size.
58390 ** chunk of the journal contains zero pages to be rolled back. But
58560 ** zero or the size of the database in page. Bytes 32..35 and 35..39
58793 ** function returns zero if the WAL is not open (i.e. Pager.pWal==0), or
58893 ** file if PagerSavepoint.iHdrOffset is zero.
58895 ** * If PagerSavepoint.iHdrOffset is not zero, then pages are played
59218 ** If the busy-handler callback returns non-zero, the lock is
59219 ** retried. If it returns zero, then the SQLITE_BUSY error is
59252 ** an in-memory database that currently consists of zero pages.
59341 ** Make no changes if mxPage is zero or negative. And never reduce the
59390 ** zero sized database has a header than consists entirely of zeroes.
59564 ** *ppPage to zero.
59637 ** to be on disk. Return non-zero (SQLITE_READONLY_DBMOVED or some other error
60411 pPtr += 4; /* Skip zero prefix */
60692 /* If the database is zero pages in size, that means that either (1) the
60710 ** at least one non-zero bytes at the start of the journal file.
60730 ** it has a zero header, that might be due to an I/O error, or
60899 ** to be in ERROR state when there are zero outstanding page
60986 ** If the reference count has reached zero, rollback any active
61289 ** pages reaches zero it drops the database lock.
61421 ** If the subjInMemory argument is non-zero, then any sub-journal opened
61425 ** sub-journal. If the subjInMemory argument is zero, then any required
61813 ** If the isDirectMode flag is zero, then this is done by calling
61818 ** The isDirectMode flag may only be non-zero if the library was compiled
61820 ** if isDirect is non-zero, then the database file is updated directly
61835 ** to this function. Otherwise, it is always set to zero.
61961 ** (delete, truncate or zero the first part of) the journal file (or
62224 ** to the database file. So there is no need to zero the journal
62379 ** reset parameter is non-zero, the cache hit or miss count is zeroed before
62430 ** if the allocation fails. Otherwise, zero the new portion in case a
62688 ** If the fourth argument, isCommit, is non-zero, then this page is being
62796 /* If needSyncPgno is non-zero, then the journal file needs to be
63057 /* This only happens when a database file is zero bytes in size opened and
63379 ** A WAL file consists of a header followed by zero or more "frames".
63407 ** Immediately following the wal-header are zero or more frames. Each
63414 ** after the commit. For all other records, zero.
63502 ** to either truncate or zero the header of the wal-index when the last
63707 ** mxFrame back to zero when the WAL is reset.
63879 u8 exclusiveMode; /* Non-zero if connection is in exclusive mode */
63977 ** numbered from zero.
64177 ** after the commit. For all other records, zero.
64233 /* A frame is only valid if the page number is creater than zero.
64435 int nByte; /* Number of bytes to zero in aPgno[] */
64511 /* If this is the first entry to be added to this hash-table, zero the
64706 /* If nTruncate is non-zero, this is a commit record. */
65391 ** (A WAL reset or recovery will revert nBackfill to zero, but not increase
65558 ** truncates the log file to zero bytes just prior to a
65568 ** indicate that the log file contains zero valid frames. */
65642 /* Try to truncate the WAL file to zero bytes if the checkpoint
65646 ** to zero bytes as truncating to the journal_size_limit might
65681 ** If the checksum cannot be verified return non-zero. If the header
65682 ** is read successfully and the checksum verified, return zero.
65695 ** from the file. If this happens, return non-zero.
65732 /* The header was successfully read. Return zero. */
65783 /* page0 can be NULL if the SHM is zero bytes in size and pWal->writeLock
65784 ** is zero, which prevents the SHM from growing */
65999 /* If nTruncate is non-zero, then a complete transaction has been
66499 ** to zero.
66507 u32 *piRead /* OUT: Frame number (or zero) */
66626 ** Return the size of the database in pages (or zero, if unknown).
67322 ** out of date. So zero the cached wal-index header to ensure that
67369 ** If op is zero, then attempt to change from locking_mode=EXCLUSIVE
67473 ** p1 is older than p2 and zero if p1 and p2 are the same snapshot.
67530 ** or zero if it is not (or if pWal is NULL).
67614 ** the second is page 2, and so forth. A page number of zero indicates
67709 ** The cell pointer array contains zero or more 2-byte numbers which are
67780 ** * zero or more pages numbers of leaves
67808 ** header must be exactly 16 bytes including the zero-terminator so
67984 ** 2) The number of locks held by other connections drops to zero.
68093 u8 curFlags; /* zero or more BTCF_* flags defined below */
68142 ** Cursor is valid except that the Cursor.skipNext field is non-zero
68265 int mxErr; /* Stop accumulating errors when this reaches zero */
68631 ** But if the value is zero, make it 65536.
68635 ** is empty, the offset should be 65536, but the 2-byte value stores zero.
69073 ** than the writer must be about to drop to zero. In this case
69077 ** be zero already. So this next line is harmless in that case.
69395 Pgno iRoot, /* Only save cursor with this iRoot. Save all if zero */
69609 ** If *pRC is initially non-zero (non-SQLITE_OK) then this routine is
70339 ** and the reserved space is zero (the usual value for reserved space)
70457 ** iFreeBlk: First freeblock after iStart, or zero if none
70625 ** the start of the cell content area. A zero value for this integer is
70633 ** start of the first freeblock on the page, or is zero if there are no
71363 ** Decrement the BtShared.nRef counter. When it reaches zero,
71365 ** true if the BtShared.nRef counter reaches zero and return
71430 ** zero the first 4 bytes of temp space here.
71536 ** The value returned is the current spill size. If zero is passed
71570 ** is a very low but non-zero probability of damage. Level 3 reduces the
71571 ** probability of damage to near zero but with a write performance reduction.
71601 ** If parameter nReserve is less than zero, then the number of reserved
71701 ** This routine acts as a query if newFlag is less than zero
71728 ** parameter is non-zero, then auto-vacuum mode is enabled. If zero, it
71924 ** zero and return SQLITE_OK. The caller will call this function
72505 ** If the bCommit parameter is non-zero, this function assumes that the
72537 ** if bCommit is non-zero. In that case, the free-list will be
72538 ** truncated to zero after this function returns, so it doesn't
72561 /* If bCommit is zero, this loop runs exactly once and page pLastPg
72564 ** On the other hand, if bCommit is greater than zero, then keep
72856 ** routine has to do is delete or truncate or zero the header in the
72863 ** is non-zero then this b-tree transaction is part of a multi-file
73084 ** Normally, iSavepoint is greater than or equal to zero. However, if op is
73110 /* pBt->nPage might be zero if the database was corrupt when
73271 ** to zero. But it turns out that the apPage[] and aiIdx[] arrays
73453 ** list, *pPgnoNext is set to zero.
73460 ** *ppPage is set to zero.
73585 int eOp /* zero to read. non-zero to write. */
74274 /* pPage->nCell must be greater than zero. If this is the root-page
74348 ** zero if the cell is less than or equal pIdxKey. Return positive
74353 ** Return value is zero: Cell at pCur[idx] equals pIdxKey
74395 ** Return true (non-zero) if pCur is current pointing to the last
74518 /* pPage->nCell must be greater than zero. If this is the root-page
74949 ** zero if this is the last freelist trunk page. */
74953 ** stores the page number of the first page of the freelist, or zero if
75393 ** freePage2() may zero the page contents if secure-delete mode is
75539 /* If pToRelease is not zero than pPayload points into the data area
75599 /* If pToRelease is not zero than pPrior points into the data area
75693 Pgno iChild, /* If non-zero, replace first 4 bytes with this value */
75815 ** A szCell[] of zero means the size of that cell has not yet been computed.
75857 ** Sometimes when deleting, a child page can have zero cells. In those
75989 ** will fit), non-zero is returned. Otherwise, if the cells are added
75990 ** successfully, zero is returned.
76007 ** cells in apCell[], then the cells do not fit and non-zero is returned.
77611 ** pX.pData,nData,nZero fields must be zero.
77613 ** If the seekResult parameter is non-zero, then a successful call to
77624 ** if pX->nMem is non-zero, then pX->aMem contains pointers to the unpacked
77876 ** the cursor, zero the BtCursor.info.nSize and BTCF_ValidNKey
77900 /* Must make sure nOverflow is reset to zero even if the balance()
78042 ** If the BTREE_SAVEPOSITION bit of the flags parameter is zero, then
78820 ** Return non-zero if the bit in the IntegrityCk.aPgRef[] array that
79214 ** is the offset of the first freeblock, or zero if there are no
79226 ** freeblock in the chain, or zero if the freeblock is the last on the
79294 ** malloc is returned if *pnErr is non-zero. If *pnErr==0 then NULL is
79300 ** zero is skipped, of course. But in addition, the freelist checks
79393 "incremental_vacuum enabled with a max rootpage of zero"
80683 ** (2) Check that the string is correctly zero terminated
80707 /* Insure that the string is properly zero-terminated. Pay particular
80863 ** Add the zero terminator.
80865 ** Three bytes of zero are added. In this way, there is guaranteed
80866 ** to be a double-zero byte at an even byte boundary in order to
80907 ** If the given Mem* has a zero-filled tail, turn it into an ordinary
81678 ** The "enc" parameter is the text encoding for the string, or zero
81682 ** excluding the first zero character. The n parameter must be
81848 ** to a zero-terminated version of that string.
81936 ** Otherwise, if the second argument is non-zero, then this function is
82332 ** A single call to this function populates zero or more fields of the
83592 ** Non-zero P2 arguments to jump instructions are automatically adjusted
85369 ** If the return value of sqlite3BtreeGetFilename() is a zero length
85823 /* If eStatementOp is non-zero, then a statement transaction needs to
86055 ** If parameter iOp is less than zero, then invoke the destructor for
86059 ** Or, if iOp is greater than or equal to zero, then the destructor is
86789 ** using the collation sequence pColl. As usual, return a negative , zero
86828 ** with MEM_Zero. Return true if it could be a zero-blob.
86839 ** Compare two blobs. Return negative, zero, or positive if the first
86848 /* It is possible to have a Blob value that has some non-zero content
86849 ** followed by zero content. But that only comes up for Blobs formed
86873 ** number. Return negative, zero, or positive if the first (i64) is less than,
86902 ** negative, zero or positive if pMem1 is less than, equal to, or greater
87044 ** specified by {nKey1, pKey1} and pPKey2. It returns a negative, zero
87051 ** If argument bSkip is non-zero, it is assumed that the caller has already
87347 ** statement (since the range of switch targets now starts at zero and
87580 ** that is negative, zero, or positive if pC is less than, equal to,
87883 ** Return TRUE (non-zero) of the statement supplied as an argument needs
89903 ** only. It returns zero if the change that caused the callback was made
90099 ** zSql is a zero-terminated string of UTF-8 SQL text. Return the number of
90322 ** each instruction in the VDBE. When it reaches zero, the u1.isInterrupted
90346 ** use this information to make sure that the zero-blob functionality
91282 ** If the progress callback returns non-zero, exit the virtual machine with
91465 ** If P5 is not zero and P4 is NULL, then everything after the ":" is
91623 ** If P3 is not zero and the content of register P3 is equal to P5, then
91676 ** is less than P2 (typically P3 is zero) then only register P2 is
91679 ** If the P1 value is non-zero, then also set the MEM_Cleared flag so that
91726 ** a zero-filled blob that is P1 bytes long in P2.
92088 ** register P1 is zero, then the result is NULL. If either input is
92096 ** If the value in register P1 is zero the result is NULL.
92192 ** If P1 is not zero, then it is a register that a subsequent min() or
92588 /* At this point, res is negative, zero, or positive if reg[P1] is
92621 ** can be zero or more OP_ReleaseReg opcodes intervening, but no other
92634 ** OP_Gt with zero or more intervening OP_ReleaseReg opcodes */
92931 ** is considered true if it is numeric and non-zero. If the value
92932 ** in P1 is NULL then take the jump if and only if P3 is non-zero.
92945 ** is considered false if it has a numeric value of zero. If the value
92946 ** in P1 is NULL then take the jump if and only if P3 is non-zero.
93060 ** If all both registers P1 and P3 are NOT NULL, then store a zero in
93253 ** the complete header, then set it to zero, forcing the header to be
93423 ** 3. if the content length is zero.
93470 ** is zero. When P3 is non-zero, no type checking occurs for
93641 i64 nZero; /* Number of zero bytes at the end of the record */
93669 nZero = 0; /* Number of zero bytes at the end of the record */
93951 ** every btree page of the table. But if P3 is non-zero, an estimate
94228 ** If P2 is non-zero, then a write-transaction is started, or if a
94230 ** If P2 is zero, then a read-transaction is started. If P2 is 2 or more
94688 ** can be used as zero-length data for OP_Insert. This is an optimization
94714 ** form sqlite3BtreeInsert() where the length of the data is zero. */
94715 assert( pOp->p2==0 ); /* Only used when number of columns is zero */
94781 ** If argument P3 is non-zero, then it indicates that the sorter may
94803 ** P1 is a sorter cursor. If the sequence counter is currently zero, jump
94895 ** greater than or equal to the key and P2 is not zero, then jump to P2.
94922 ** the key and P2 is not zero, then jump to P2.
94940 ** the key and P2 is not zero, then jump to P2.
94958 ** less than or equal to the key and P2 is not zero, then jump to P2.
95212 ** This.P5 is true (non-zero) then a jump is made to This.P2. The P5==0
95841 v &= (MAX_ROWID>>1); v++; /* Ensure that v is greater than zero */
96063 /* If p5 is zero, the seek operation that positioned the cursor prior to
96645 ** If P4 is not zero, then it is the number of values in the unpacked
96728 ** If P5 is not zero, then raise an SQLITE_CORRUPT_INDEX error
96733 ** entry is found. For those cases, P5 is zero. Also, do not raise
96783 ** is non-zero, then reading column a(i)-1 from cursor P3 is
97006 ** zero is stored in register P2. If AUTOVACUUM is disabled then a zero
97061 ** If the P3 value is non-zero, then the row change count is incremented
97063 ** than zero, then the value stored in register P3 is also incremented
97307 ** If P5 is not zero, the check is done on the auxiliary database
97464 ** If P5 is non-zero, then recursive program invocation is enabled.
97627 ** If P1 is non-zero, the database constraint counter is incremented
97628 ** (deferred foreign key constraints). Otherwise, if P1 is zero, the
97645 ** This opcode tests if a foreign key constraint-counter is currently zero.
97649 ** If P1 is non-zero, then the jump is taken if the database constraint-counter
97650 ** is zero (the one that counts deferred constraint violations). If P1 is
97651 ** zero, the jump is taken if the statement constraint-counter is zero
97728 ** If r[P3] is zero or negative, that means there is no OFFSET
97731 ** if r[P1] is zero or negative, that means there is no LIMIT
97745 /* If the LIMIT is less than or equal to zero, loop forever. This
97763 ** initially greater than zero, then decrement the value in register P1.
97764 ** If it is non-zero (negative or positive) and then also jump to P2.
97765 ** If register P1 is initially zero, leave it unchanged and fall through.
97782 ** and jump to P2 if the new value is exactly zero.
98151 ** If P2 is not zero, then it is a register holding a string which is
98153 ** P2 is zero, the vacuum overwrites the original database.
98196 ** If P1 is 0, then all SQL statements become expired. If P1 is non-zero,
98939 ** If P2 is not zero, jump to instruction P2.
98944 ** If P3 is not zero, then it is an address to jump to if an SQLITE_CORRUPT
99878 ** than zero, and (b) worker threads have been enabled at runtime by calling
100191 int eFWErr; /* Non-zero if in an error state */
100243 ** argument. All structure fields are set to zero before returning.
100691 ** is non-zero and the sorter is able to guarantee a stable sort, nField
100826 /* pTask->list.aMemory can only be non-zero if it was handed memory
102136 ** tree, counting from zero. This function adds pLeaf to the tree.
102501 ** Otherwise, set *pRes to a negative, zero or positive value if the
103318 ** accessed using the underlying VFS. If nSpill is less than zero, then
103336 /* Zero the file-handle object. If nSpill was passed zero, initialize
103739 ** zero but it might be more if the alias is contained within a subquery
105217 ** return non-zero. Return zero if no errors are seen.
106432 u8 p5 /* SQLITE_NULLEQ or zero */
106696 ** Allocate a new expression node from a zero-terminated token that has
107882 ** pWalker->eCode to zero and abort.
107909 ** then convert it into an TK_TRUEFALSE term. Return non-zero if
107910 ** the conversion happened, and zero if the expression is unaltered.
108078 ** Walk an expression tree. Return non-zero if the expression is constant
108090 ** Walk an expression tree. Return non-zero if
108107 ** Walk an expression tree. Return non-zero if the expression is constant
108182 ** Walk the expression tree passed as the first argument. Return non-zero
108213 ** in a CREATE TABLE statement. Return non-zero if the expression is
108214 ** acceptable for use as a DEFAULT. That is to say, return non-zero if
109210 ** right-hand side (RHS) is an array of zero or more scalar values, or a
109482 ** The z[] string will probably not be zero-terminated. But the
109502 ** Expr.u.zToken is always UTF8 and zero-terminated.
109915 int regFree1 = 0; /* If non-zero free this temporary register */
109916 int regFree2 = 0; /* If non-zero free this temporary register */
110759 ** a temporary, then set *pReg to zero.
111339 ** same as that currently bound to variable pVar, non-zero is returned.
111341 ** SQL value, zero is returned.
111493 ** This routine might return non-zero for equivalent ExprLists. The
111528 ** Return non-zero if Expr p can only be true if pNN is not NULL.
111530 ** Or if seenNot is true, return non-zero if Expr p can only be
111750 ** Return true (non-zero) if expression p can only be true if at least
111756 ** zero even if expression p will never be true of every column of iTab
111979 ** Parse object is destroyed, but the zero register number means that it
112353 ** in pParse->zErr (system tables may not be altered) and returns non-zero.
112355 ** Or, if zName is not a system table, zero is returned.
112463 VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */
112882 ** it loads an error message into pParse and returns non-zero.
112884 ** Or, if pTab is not a view or virtual table, zero is returned.
113775 ** 7. bQuote: Non-zero if the new column name should be quoted.
114493 /* Do not allow the number of columns to go to zero */
115269 ** p->nMaxEqZero or greater set to zero. */
115590 int jZeroRows = -1; /* Jump from here if number of rows is zero */
117120 ** pParse->zErrMsg and these routines return non-zero. If everything
117379 ** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY
117402 ** callback are either NULL pointers or zero-terminated strings that
118094 ** TEMP schema. The reset is deferred if db->nSchemaLock is not zero.
118329 /* Do not delete the table until the reference count reaches zero. */
118601 ** the N-th virtual column (zero-based) then the storage number is
120548 ** table is virtual or nCol is zero.
120729 ** is non-zero, then it is the root page number of a table moved to
121343 ** pParse and return non-zero. Otherwise, return zero.
122207 ** creating nExtra new slots beginning at iStart. iStart is zero based.
123430 ** If nArg is -1 that means to only return a match (non-zero) if p->nArg
123543 ** function is valid if xSFunc is non-zero. The nArg==(-2)
123553 const char *zName, /* Name of the function. zero-terminated */
124438 u8 count, /* If non-zero, increment the row change counter */
124524 ** If variable 'count' is non-zero, then this OP_Delete instruction should
124633 ** will be set to zero which is an empty label that is ignored by
125380 ** '*' Matches any sequence of zero or more characters.
125397 ** '%' Matches any sequence of zero or more characters
125539 ** non-zero if there is no match.
125552 ** The sqlite3_strlike() interface. Return 0 on a match and non-zero for
125872 ** The char() function takes zero or more arguments, each of which is
125943 ** The zeroblob(N) function returns a zero-filled blob of size N bytes.
126688 ** That one byte is stored in aWc[3]. aWc[3] is set to zero if there is
127156 ** with the database handle. The counter is set to zero each time a
127162 ** greater than zero. This scheme has two big drawbacks:
127214 ** constraint counter is greater than zero,
127273 ** If successful, zero is returned. If the parent key is an INTEGER PRIMARY
127303 ** then non-zero is returned, and a "foreign key mismatch" error loaded
127304 ** into pParse. If an OOM error occurs, non-zero is returned and the
127326 ** and *paiCol set to zero and return early.
127466 /* If nIncr is less than zero, then check at runtime if there are any
127915 ** is zero or greater (if a column is unmodified the corresponding element
127917 ** the bChngRowid argument is non-zero.
127942 ** is zero or greater (if a column is unmodified the corresponding element
127944 ** the bChngRowid argument is non-zero.
128000 ** zero in this case.
128002 ** For an INSERT operation, regOld is passed zero and regNew is passed the
128025 /* Exactly one of regOld and regNew should be non-zero. */
128251 ** non-zero. If there is no foreign key related processing, this function
128252 ** returns zero.
128822 ** Return non-zero if the table pTab in database iDb or any of its indices
128984 ** that holds the maximum rowid. Return zero if pTab is not an AUTOINCREMENT
128985 ** table. (Also return zero when doing a VACUUM since we do not want to
130190 ** the data prior to an UPDATE rather than afterwards. regOldData is zero
130192 ** checking regOldData for zero.
130201 ** is zero, it means that the either rowid is computed automatically or
130222 ** aRegIdx[] is not zero). iDataCur is the cursor for the main table when
130276 u8 pkChng, /* Non-zero if the rowid or PRIMARY KEY changed */
130342 int isGenerated; /* non-zero if column is generated */
130575 ** (1) Allocate register regTrigCnt and initialize it to zero.
130601 ** initialize it to zero. */
131102 ** Or if no columns of pTab may be NULL-trimmed, leave P5 at zero.
131863 ** sqlite3_exec() returns non-zero, then sqlite3_exec() will
133623 #define PragFlg_NoColumns 0x02 /* OP_ResultRow called with zero columns */
133624 #define PragFlg_NoColumns1 0x04 /* zero columns if RHS argument is present */
134539 ** Create zero or more entries in the output for the SQL functions
135151 ** database file. If this parameter is set to zero, then memory mapping
135417 ** pk: Non-zero for PK fields.
138072 ** exactly the same as sqlite3_prepare_v3() with a zero prepFlags
138092 ** which is a bit array consisting of zero or more of the
139007 ** value is not zero, then it is a label of where to jump. Otherwise,
139085 ** No special action is required. The return value is zero.
139296 ** zero or more, then data is pulled from srcTab and p->pEList is used only
139322 ** from this array. In this case regOrig is set to zero. */
140178 /* If iCol is less than zero, then the expression requests the
140578 pTab->szTabRow = 1; /* Any non-zero value works */
140642 ** and iOffset should have been preset to appropriate default values (zero)
140797 ** have been output to pDest. A LIMIT of zero means to output no rows and a
142273 ** initialized to zero.
142835 /* At this point, any non-zero iOrderByCol values indicate that the
142839 ** zero them before transfering the ORDER BY clause.
143021 ** if argument bIgnoreAffBlob is non-zero and the affinity of pExpr
143289 ** Return 0 if no changes are made and non-zero if one or more WHERE clause
143398 ** WHERE_ORDERBY_NORMAL (which must be zero).
143556 /* If iOrderByCol is already non-zero, then it has already been matched
143603 ** non-zero, since pFrom is not allowed to be a table-valued function.
143925 ** Check the N SrcItem objects to the right of pBase. (N might be zero!)
143929 ** If N is zero, or none of the N SrcItem objects to the right of pBase
144529 ** If regAcc is non-zero and there are no min() or max() aggregates
145925 ** is less than or equal to zero, the subroutine is a no-op. If
146035 ** function visits zero rows. */
147684 /* Set the P5 operand of the OP_Program instruction to non-zero if
149179 ** jump to here if the scan visited zero rows. */
150096 ** module when the reference count reaches zero.
150137 ** reaches zero, call the xDisconnect() method to delete the object.
150958 ** than zero, then this function is being called from within a
151153 ** exist. Return non-zero if either the eponymous virtual table instance
151941 #define WHERE_OMIT_OFFSET 0x01000000 /* Set offset counter to zero */
151974 int bAnd, /* Non-zero to append " AND " */
152045 ** Otherwise, if no OP_Explain is coded, zero is returned.
152160 ** Otherwise, if no OP_Explain is coded, zero is returned.
152446 /* If the SELECT statement has an ORDER BY clause, zero the
152447 ** iOrderByCol variables. These are set to non-zero when an
152452 ** it's easiest just to zero them here. */
152867 ** of a LEFT JOIN. Set Walker.eCode to non-zero before returning if the
153262 int iRowidReg = 0; /* Rowid is stored in this register, if not zero */
153598 ** The WHERE clause may contain zero or more equality
153619 ** N may be zero if there are inequality constraints.
154248 ** is zero, assume that the key cannot already be present in
155334 ** zero. This term is not useful for search.
157212 ** If the iAutoidxCur is not zero, then any OP_Rowid instructions on
157222 int iAutoidxCur /* If non-zero, cursor of autoindex being generated */
157635 ** to zero-filled blob of at least 80K bits, but maybe more if the
158228 ** set to zero. If pUpper is NULL, or a value cannot be extracted from it,
158525 ** non-zero.
158589 ** non-zero.
158958 /* In the current implementation, the rSetup value is either zero
159817 ** non-zero and return WRC_Abort to stop the search.
159847 ** Return 0 if pIdx is a covering index. Return non-zero if pIdx is
159851 ** This routine is an optimization. It is always safe to return non-zero.
159852 ** But returning zero when non-zero should have been returned can lead to
160362 /* The non-zero argvIdx values must be contiguous. Raise an
161359 /* If nRowEst is zero and there is an ORDER BY clause, ignore it. In this
161385 ** is either zero - meaning it has not yet been initialized - or the
161395 /* Seed the search with a single WherePath containing zero WhereLoops.
161404 /* If nLoop is zero, then there are no FROM terms in the query. Since
161407 ** indicate this. Or, if nLoop is greater than zero, set isOrdered to
161724 ** Return non-zero on success, if this query can be handled by this
161725 ** no-frills query planner. Return zero if this query needs the
161965 ** (2) Some searches are expected to find zero rows. (This is determined
162194 u8 bFordelete = 0; /* OPFLAG_FORDELETE or zero, as appropriate */
164184 ** function accepts zero arguments, and there are no other columns
164680 ** that it processes in a temporary table. If it is not zero, this
164760 ** xInverse (if bInverse is non-zero) for each window function in the
164771 ** Or, if csr is less than zero, then the array of registers at reg is
164774 ** If argument regPartSize is non-zero, then it is a register containing the
165551 ** than zero. False otherwise.
165554 ** flag and returns zero.
166679 ** zero the stack is dynamically sized using realloc()
173531 ** zero if and only if SQLite was compiled with mutexing code omitted due to
173538 ** this variable being set to non-zero will cause OSTRACE macros to emit
174046 ** argument of type int. If non-zero, then URI handling is globally
174047 ** enabled. If the parameter is zero, then URI handling is globally
175084 ** Return non-zero to retry the lock. Return zero to stop trying
175136 ** If this routine returns non-zero, the lock is retried. If it
175645 ** If the invoked function returns non-zero, then the commit becomes a
175793 ** more frames in the log file. Passing zero or a negative value as the
175910 ** to contains a zero-length string, all attached databases are
177478 ** x if the schema cookie is zero. This case
177509 ** memory allocation error, 0 on success, or non-zero for an error.
177590 ** assert() is disabled, then the return value is zero. If X is
177593 ** return value is zero.
177700 ** and return zero on success, or return non-zero on failure.
177754 /* Set the threshold at which OP_Once counters reset back to zero.
177959 ** by four zero bytes. Locate the start of the database filename by searching
177960 ** backwards for the first byte following four consecutive zero bytes.
177973 ** character after then zero terminator on the new text in p[].
178789 ** Here, array { X } means zero or more occurrences of X, adjacent in
178801 ** The 123 value is the first docid. For column zero in this document
178839 ** Here, array { X } means zero or more occurrences of X, adjacent in
178885 ** means zero or more occurrences of X, adjacent in memory.
179377 ** in the document set and zero or more prefix indexes. All indexes are stored
180212 ** If *pRc is initially non-zero then this routine is a no-op.
180270 ** If *pRc is non-zero when this function is called, it is a no-op.
180390 ** If *pRc is non-zero when this function is called, it is a no-op.
181387 ** allocation succeeds, zero it and return SQLITE_OK. Otherwise,
181554 ** contents, or two zero bytes. Or, if the node is read from the %_segments
181736 /* The end of a position list is marked by a zero encoded as an FTS3
181820 ** the previous position, or zero if we are reading the first position
182171 ** If *pbFirst is zero when this function is called, the value written to
182174 ** If *pbFirst is non-zero when this function is called, then the value
182175 ** written is either (iVal-*piPrev) (if bDescIdx is zero) or (*piPrev-iVal)
182176 ** (if bDescIdx is non-zero).
182221 ** passed a non-zero value.
182328 ** order, it should be passed a non-zero value.
183289 /* Search backwards for a varint with value zero (the end of the previous
184247 ** with this case by advancing pIter past the zero-padding added by
184460 ** If parameter bOptOk is zero, then it is guaranteed that the
184463 ** Or, if bOptOk is non-zero, then one or more tokens within the expression
184844 ** leaves 0 positions, zero is returned. Otherwise, non-zero.
184889 ** matching rows in docid order. Ascending order if Fts3Cursor.bDesc is zero,
184890 ** or descending if it is non-zero.
184895 ** Fts3Expr.bEof (non-zero if EOF - there is no next row)
185142 ** Assuming no error occurs or has occurred, It returns non-zero if the
185144 ** currently points to, or zero if it does not.
185167 /* If the NEAR expression does not match any rows, zero the doclist for
186168 /* In case this cursor is being reused, close and zero it. */
186198 /* If the user specified a negative value for the languageid, use zero
186202 ** so the overall query will return zero rows. */
186359 ** to zero causes the module to use the old syntax. If it is set to
186360 ** non-zero the new syntax is activated. This is so both syntaxes can
186409 ** zero.
186441 ** zero the memory before returning a pointer to it. If unsuccessful,
186488 ** reached before a token is found, set *ppExpr to zero. It is the
187809 ** Return non-zero if a memory allocation error occurs.
188177 ** In prose: A word is an optional consonant followed by zero or
190222 ** returns zero rows. */
190567 ** Add a docid/column/position entry to a PendingList structure. Non-zero
190569 ** the entry. Otherwise, zero.
190700 ** zText==0. In this case, add zero token entries to the hash table and
190720 ** Tokens must have a non-zero length.
191575 ** If the isPrefixIter parameter is zero, then the returned SegReader iterates
191577 ** non-zero, it iterates through each term and its prefixes. For example, if
191586 ** Whereas if isPrefixIter is zero, the terms visited are:
191832 ** set *pnMax to zero and return an SQLite error code.
191933 /* If nSuffix is zero or less, then zTerm/nTerm must be a prefix of
192048 ** set to the largest blockid written to the database (or zero if no
192166 /* If nSuffix is zero or less, then zTerm/nTerm must be a prefix of
192502 ** *pnList is set to zero before returning.
192504 ** If parameter bZero is non-zero, then any part of the input list following
192968 ** to the integer value and *pnByte to zero before returning. In the second,
193771 /* If the current node of layer iLayer contains zero keys, or if adding
193834 ** If the size of the value in blob pPrev is zero, then this is the first
194176 /* Check for the zero-length marker in the %_segments table */
194280 ** within level iAbsLevel, set *piIdx to zero.
194871 /* If nSeg is less that zero, then there is no level with at least
195626 ** invoked, it will delete zero rows (since no row will have
196246 /* Now that it is known how many phrases there are, allocate and zero
196471 ** is initialized to zero before the first (*but not necessarily
196652 int iPhrase, /* Phrase number (numbered from zero) */
196803 int iPhrase, /* Phrase number (numbered from zero) */
197886 ** is less than zero.
198104 ** is less than zero.
198433 ** Return zero on success. Return non-zero on an OOM error
199164 ** Parse a complete JSON string. Return 0 on success or non-zero if there
201708 ** of the r-tree structure. A height of zero means all data is stored on
201836 ** count drops to zero, the node data is written to the database.
201956 ** zero the structure is deleted.
202082 ** Return non-zero if the cursor does not currently point to a valid
202083 ** record (i.e if the scan has finished), or zero otherwise.
202337 ** Compare two search points. Return negative, zero, or positive if the first
202720 ** to zero and return an SQLite error code.
203546 ** all cells from node pLeft. Then zero the original node.
204087 #define RNDTOWARDS (1.0 - 1.0/8388608.0) /* Round towards zero */
204088 #define RNDAWAY (1.0 + 1.0/8388608.0) /* Round away from zero */
205511 ** return non-zero on success and zero if the next token is not a number.
208368 ** of zero or more numeric characters (0-9). This can be significant because
208626 ** If the second parameter to this function is passed zero, then the limit
208630 ** In all cases the returned value is the current limit in bytes (zero
208650 ** handle. The second argument should be passed zero to access the target
208651 ** database handle, or non-zero to access the rbu update database handle.
209057 ** * each index of the table (zero or more points to visit), and
209892 ** Allocate and zero the pIter->azTblCol[] and abTblPk[] arrays so that
209970 ** (i.e. unless *peType is set to 3), then *piPk is set to zero. Or,
210905 ** immediately returns zero (without doing any work). Or, if an error
210908 ** zero.
210913 ** table b-tree of the table before returning. Non-zero is returned if
210914 ** an imposter table are created, or zero otherwise.
212091 ** message are left in the RBU handle and zero returned.
212586 ** Compare strings z1 and z2, returning 0 if they are identical, or non-zero
213263 ** non-zero (to tell SQLite that it does exist) anyway.
215564 int rc; /* Non-zero if an error has occurred */
216110 ** The bPkOnly argument is non-zero if the record at aRecord[] is from
216610 /* If successful, populate the output variables. Otherwise, zero them and
216635 ** non-zero returned. Or, if no error occurs but the table has no primary
216636 ** key, sqlite3_session.rc is left set to SQLITE_OK and non-zero returned to
216671 ** sqlite_stat1 table. The purpose of this is to substitute a zero-length
217509 ** If successful, return zero. Otherwise, if an OOM condition is encountered,
217510 ** set *pRc to SQLITE_NOMEM and return non-zero.
217551 ** This function is a no-op if *pRc is non-zero when it is called.
217758 int bNoop = 1; /* Set to zero if any values are modified */
217759 int nRewind = pBuf->nBuf; /* Set to zero if any values are modified */
217846 ** the changeset format if argument bPatchset is zero, or the patchset
218046 ** Generate either a changeset (if argument bPatchset is zero) or a patchset
218047 ** (if it is non-zero) based on the current contents of the session object
219812 ** is set to non-zero before returning SQLITE_OK.
220232 ** xFilter callback returns zero, skip this table. If it returns
220233 ** non-zero, proceed. */
221095 ** xOutput zero or more times and SQLITE_OK returned. Or, if xOutput is NULL,
221415 ** If parameter iCol is less than zero, set output variable *pnToken
221430 ** If parameter iCol is less than zero, set output variable *pnToken
221456 ** are numbered starting from zero.
221470 ** Phrase matches are numbered starting from zero, so the iIdx argument
221471 ** should be greater than or equal to zero and smaller than the value
221544 ** If the bClear argument is non-zero, then the auxiliary data is cleared
222038 ** parameters is NULL and the number of bytes to compare is zero.
222391 ** unique token in the document with an iCol value less than zero. The iPos
222910 ** zero the stack is dynamically sized using realloc()
224398 int iRangeEnd; /* If non-zero, last token to include */
224646 ** contains a NULL value, return a pointer to a static string zero
226112 ** If the callback returns a non-zero value the tokenization is abandoned
226119 ** because the callback returned another non-zero value, it is assumed
227038 ** close together to meet the NEAR constraint. Non-zero is returned if it
227039 ** does, or zero otherwise.
227046 ** If no error occurs and non-zero (a match) is returned, the position-list
227075 ** buffer and buffer size to the lookaside-reader init function, zero
227147 ** are set, return a non-zero value. Otherwise, return zero.
227261 ** SQLITE_OK. It is not considered an error if some term matches zero
227847 ** parameter is passed a non-zero value, iteration is in descending rowid
227848 ** order. Or, if it is zero, in ascending order.
228477 ** zero, or it may create copies of pColset using fts5CloneColset().
230116 ** zero-or-more {
230127 ** zero-or-more {
230137 ** zero-or-more {
230146 ** zero-or-more {
230226 ** Each segment has a unique non-zero 16-bit id.
230254 ** many zero bytes. This makes it easier to decode the various record formats
231336 ** doclist-index page is reached, return non-zero.
232279 ** pointing to it. If argument bGe is zero and the term is not found,
232282 ** If bGe is non-zero and the specified term is not found, then the
232673 ** If the returned value is non-zero, then it is the index of an entry
232859 ** If non-zero is returned, the caller should call fts5MultiIterAdvanced()
233445 ** is zero or greater, data from the first nSegment segments on level iLevel
233782 ** zero.
233944 static const u8 zero[] = { 0x00, 0x00, 0x00, 0x00 };
233970 fts5BufferAppendBlob(&p->rc, &pPage->buf, 4, zero);
235390 ** and the initial version of the "averages" record (a zero-byte blob).
235519 ** unique token in the document with an iCol value less than zero. The iPos
235901 ** contain valid utf-8, return non-zero.
236011 ** contain zero terms.
236013 ** contain zero rowids.
240863 /* nTotalRow being zero does not necessarily indicate a corrupt
240864 ** database - it might be that the FTS5 table really does contain zero
242455 ** is less than zero.