summaryrefslogtreecommitdiffstats
path: root/src/libs/sqlite3
diff options
context:
space:
mode:
authorTDE Weblate <[email protected]>2025-03-15 13:04:23 +0000
committerMichele Calgaro <[email protected]>2025-03-19 13:12:11 +0900
commit8b3a88df55c67e3e75b93385db1c4f27f409a06f (patch)
tree8427cf9e4892c66674645e7152c3246a334bd165 /src/libs/sqlite3
parent0b5e696d79ab1a160293d520b7526e031238989a (diff)
downloaddigikam-rename/true-false.tar.gz
digikam-rename/true-false.zip
Update translation filesrename/true-false
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: applications/digikam Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/digikam/
Diffstat (limited to 'src/libs/sqlite3')
-rw-r--r--src/libs/sqlite3/sqlite3.c216
-rw-r--r--src/libs/sqlite3/sqlite3.h2
2 files changed, 109 insertions, 109 deletions
diff --git a/src/libs/sqlite3/sqlite3.c b/src/libs/sqlite3/sqlite3.c
index 87195d9a..41e94472 100644
--- a/src/libs/sqlite3/sqlite3.c
+++ b/src/libs/sqlite3/sqlite3.c
@@ -5320,7 +5320,7 @@ struct sqlite3_module {
** Where OP is =, &lt;, &lt;=, &gt;, or &gt;=.
** The particular operator is stored
** in aConstraint[].op. The index of the column is stored in
-** aConstraint[].iColumn. aConstraint[].usable is TRUE if the
+** aConstraint[].iColumn. aConstraint[].usable is true if the
** expr on the right-hand side can be evaluated (and thus the constraint
** is usable) and false if it cannot.
**
@@ -7782,7 +7782,7 @@ struct sqlite3 {
struct sqlite3InitInfo { /* Information used during initialization */
int iDb; /* When back is being initialized */
int newTnum; /* Rootpage of table being initialized */
- u8 busy; /* TRUE if currently initializing */
+ u8 busy; /* true if currently initializing */
} init;
int nExtension; /* Number of loaded extensions */
void **aExtension; /* Array of shared libraray handles */
@@ -8623,7 +8623,7 @@ struct Select {
u8 isResolved; /* True once sqlite3SelectResolve() has run. */
u8 isAgg; /* True if this is an aggregate query */
u8 usesEphm; /* True if uses an OpenEphemeral opcode */
- u8 disallowOrderBy; /* Do not allow an ORDER BY to be attached if TRUE */
+ u8 disallowOrderBy; /* Do not allow an ORDER BY to be attached if true */
char affinity; /* MakeRecord with this affinity for SRT_Set */
SrcList *pSrc; /* The FROM clause */
Expr *pWhere; /* The WHERE clause */
@@ -8691,7 +8691,7 @@ struct Parse {
int rc; /* Return code from execution */
char *zErrMsg; /* An error message */
Vdbe *pVdbe; /* An engine for executing database bytecode */
- u8 colNamesSet; /* TRUE after OP_ColumnName has been issued to pVdbe */
+ u8 colNamesSet; /* true after OP_ColumnName has been issued to pVdbe */
u8 nameClash; /* A permanent table name clashes with temp table name */
u8 checkSchema; /* Causes schema cookie check after an error */
u8 nested; /* Number of nested calls to the parser/code generator */
@@ -13047,7 +13047,7 @@ SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int iType){
p = sqlite3MallocZero( sizeof(*p) );
if( p ){
p->id = iType;
- if( DosCreateMutexSem( 0, &p->mutex, 0, FALSE ) != NO_ERROR ){
+ if( DosCreateMutexSem( 0, &p->mutex, 0, false ) != NO_ERROR ){
sqlite3_free( p );
p = NULL;
}
@@ -13075,12 +13075,12 @@ SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int iType){
ppib->pib_ulpid );
while( !isInit ){
mutex = 0;
- rc = DosCreateMutexSem( name, &mutex, 0, FALSE);
+ rc = DosCreateMutexSem( name, &mutex, 0, false);
if( rc == NO_ERROR ){
int i;
if( !isInit ){
for( i = 0; i < sizeof(staticMutexes)/sizeof(staticMutexes[0]); i++ ){
- DosCreateMutexSem( 0, &staticMutexes[i].mutex, 0, FALSE );
+ DosCreateMutexSem( 0, &staticMutexes[i].mutex, 0, false );
}
isInit = 1;
}
@@ -14340,17 +14340,17 @@ static void vxprintf(
/*
** At this point, variables are initialized as follows:
**
- ** flag_alternateform TRUE if a '#' is present.
- ** flag_altform2 TRUE if a '!' is present.
- ** flag_plussign TRUE if a '+' is present.
- ** flag_leftjustify TRUE if a '-' is present or if the
+ ** flag_alternateform true if a '#' is present.
+ ** flag_altform2 true if a '!' is present.
+ ** flag_plussign true if a '+' is present.
+ ** flag_leftjustify true if a '-' is present or if the
** field width was negative.
- ** flag_zeropad TRUE if the width began with 0.
- ** flag_long TRUE if the letter 'l' (ell) prefixed
+ ** flag_zeropad true if the width began with 0.
+ ** flag_long true if the letter 'l' (ell) prefixed
** the conversion character.
- ** flag_longlong TRUE if the letter 'll' (ell ell) prefixed
+ ** flag_longlong true if the letter 'll' (ell ell) prefixed
** the conversion character.
- ** flag_blanksign TRUE if a ' ' is present.
+ ** flag_blanksign true if a ' ' is present.
** width The specified field width. This is
** always non-negative. Zero is the default.
** precision The specified precision. The default
@@ -16203,10 +16203,10 @@ SQLITE_PRIVATE int sqlite3StrNICmp(const char *zLeft, const char *zRight, int N)
}
/*
-** Return TRUE if z is a pure numeric string. Return FALSE if the
+** Return true if z is a pure numeric string. Return false if the
** string contains any character which is not part of a number. If
** the string is numeric and contains the '.' character, set *realnum
-** to TRUE (otherwise FALSE).
+** to true (otherwise false).
**
** An empty string is considered non-numeric.
*/
@@ -16344,7 +16344,7 @@ static int compare2pow63(const char *zNum){
/*
-** Return TRUE if zNum is a 64-bit signed integer and write
+** Return true if zNum is a 64-bit signed integer and write
** the value of the integer into *pNum. If zNum is not an integer
** or is an integer that is too large to be expressed with 64 bits,
** then return false.
@@ -16391,9 +16391,9 @@ SQLITE_PRIVATE int sqlite3Atoi64(const char *zNum, i64 *pNum){
** The string zNum represents an integer. There might be some other
** information following the integer too, but that part is ignored.
** If the integer that the prefix of zNum represents will fit in a
-** 64-bit signed integer, return TRUE. Otherwise return FALSE.
+** 64-bit signed integer, return true. Otherwise return false.
**
-** This routine returns FALSE for the string -9223372036854775808 even that
+** This routine returns false for the string -9223372036854775808 even that
** that number will, in theory fit in a 64-bit integer. Positive
** 9223373036854775808 will not fit in 64 bits. So it seems safer to return
** false.
@@ -21846,9 +21846,9 @@ SQLITE_API int sqlite3_open_file_count = 0;
#if OS_WINCE
typedef struct winceLock {
int nReaders; /* Number of reader locks obtained */
- BOOL bPending; /* Indicates a pending lock has been obtained */
- BOOL bReserved; /* Indicates a reserved lock has been obtained */
- BOOL bExclusive; /* Indicates an exclusive lock has been obtained */
+ bool bPending; /* Indicates a pending lock has been obtained */
+ bool bReserved; /* Indicates a reserved lock has been obtained */
+ bool bExclusive; /* Indicates an exclusive lock has been obtained */
} winceLock;
#endif
@@ -22101,10 +22101,10 @@ static void winceMutexAcquire(HANDLE h){
** Create the mutex and shared memory used for locking in the file
** descriptor pFile
*/
-static BOOL winceCreateLock(const char *zFilename, winFile *pFile){
+static bool winceCreateLock(const char *zFilename, winFile *pFile){
WCHAR *zTok;
WCHAR *zName = utf8ToUnicode(zFilename);
- BOOL bInit = TRUE;
+ bool bInit = true;
/* Initialize the local lockdata */
ZeroMemory(&pFile->local, sizeof(pFile->local));
@@ -22117,10 +22117,10 @@ static BOOL winceCreateLock(const char *zFilename, winFile *pFile){
}
/* Create/open the named mutex */
- pFile->hMutex = CreateMutexW(NULL, FALSE, zName);
+ pFile->hMutex = CreateMutexW(NULL, false, zName);
if (!pFile->hMutex){
free(zName);
- return FALSE;
+ return false;
}
/* Acquire the mutex before continuing */
@@ -22138,7 +22138,7 @@ static BOOL winceCreateLock(const char *zFilename, winFile *pFile){
/* Set a flag that indicates we're the first to create the memory so it
** must be zero-initialized */
if (GetLastError() == ERROR_ALREADY_EXISTS){
- bInit = FALSE;
+ bInit = false;
}
free(zName);
@@ -22159,7 +22159,7 @@ static BOOL winceCreateLock(const char *zFilename, winFile *pFile){
winceMutexRelease(pFile->hMutex);
CloseHandle(pFile->hMutex);
pFile->hMutex = NULL;
- return FALSE;
+ return false;
}
/* Initialize the shared memory if we're supposed to */
@@ -22168,7 +22168,7 @@ static BOOL winceCreateLock(const char *zFilename, winFile *pFile){
}
winceMutexRelease(pFile->hMutex);
- return TRUE;
+ return true;
}
/*
@@ -22185,13 +22185,13 @@ static void winceDestroyLock(winFile *pFile){
pFile->shared->nReaders --;
}
if (pFile->local.bReserved){
- pFile->shared->bReserved = FALSE;
+ pFile->shared->bReserved = false;
}
if (pFile->local.bPending){
- pFile->shared->bPending = FALSE;
+ pFile->shared->bPending = false;
}
if (pFile->local.bExclusive){
- pFile->shared->bExclusive = FALSE;
+ pFile->shared->bExclusive = false;
}
/* De-reference and close our copy of the shared memory handle */
@@ -22208,7 +22208,7 @@ static void winceDestroyLock(winFile *pFile){
/*
** An implementation of the LockFile() API of windows for wince
*/
-static BOOL winceLockFile(
+static bool winceLockFile(
HANDLE *phFile,
DWORD dwFileOffsetLow,
DWORD dwFileOffsetHigh,
@@ -22216,18 +22216,18 @@ static BOOL winceLockFile(
DWORD nNumberOfBytesToLockHigh
){
winFile *pFile = HANDLE_TO_WINFILE(phFile);
- BOOL bReturn = FALSE;
+ bool bReturn = false;
- if (!pFile->hMutex) return TRUE;
+ if (!pFile->hMutex) return true;
winceMutexAcquire(pFile->hMutex);
/* Wanting an exclusive lock? */
if (dwFileOffsetLow == SHARED_FIRST
&& nNumberOfBytesToLockLow == SHARED_SIZE){
if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){
- pFile->shared->bExclusive = TRUE;
- pFile->local.bExclusive = TRUE;
- bReturn = TRUE;
+ pFile->shared->bExclusive = true;
+ pFile->local.bExclusive = true;
+ bReturn = true;
}
}
@@ -22240,7 +22240,7 @@ static BOOL winceLockFile(
if (pFile->local.nReaders == 1){
pFile->shared->nReaders ++;
}
- bReturn = TRUE;
+ bReturn = true;
}
}
@@ -22248,17 +22248,17 @@ static BOOL winceLockFile(
else if (dwFileOffsetLow == PENDING_BYTE && nNumberOfBytesToLockLow == 1){
/* If no pending lock has been acquired, then acquire it */
if (pFile->shared->bPending == 0) {
- pFile->shared->bPending = TRUE;
- pFile->local.bPending = TRUE;
- bReturn = TRUE;
+ pFile->shared->bPending = true;
+ pFile->local.bPending = true;
+ bReturn = true;
}
}
/* Want a reserved lock? */
else if (dwFileOffsetLow == RESERVED_BYTE && nNumberOfBytesToLockLow == 1){
if (pFile->shared->bReserved == 0) {
- pFile->shared->bReserved = TRUE;
- pFile->local.bReserved = TRUE;
- bReturn = TRUE;
+ pFile->shared->bReserved = true;
+ pFile->local.bReserved = true;
+ bReturn = true;
}
}
@@ -22269,7 +22269,7 @@ static BOOL winceLockFile(
/*
** An implementation of the UnlockFile API of windows for wince
*/
-static BOOL winceUnlockFile(
+static bool winceUnlockFile(
HANDLE *phFile,
DWORD dwFileOffsetLow,
DWORD dwFileOffsetHigh,
@@ -22277,9 +22277,9 @@ static BOOL winceUnlockFile(
DWORD nNumberOfBytesToUnlockHigh
){
winFile *pFile = HANDLE_TO_WINFILE(phFile);
- BOOL bReturn = FALSE;
+ bool bReturn = false;
- if (!pFile->hMutex) return TRUE;
+ if (!pFile->hMutex) return true;
winceMutexAcquire(pFile->hMutex);
/* Releasing a reader lock or an exclusive lock */
@@ -22287,9 +22287,9 @@ static BOOL winceUnlockFile(
dwFileOffsetLow < SHARED_FIRST + SHARED_SIZE){
/* Did we have an exclusive lock? */
if (pFile->local.bExclusive){
- pFile->local.bExclusive = FALSE;
- pFile->shared->bExclusive = FALSE;
- bReturn = TRUE;
+ pFile->local.bExclusive = false;
+ pFile->shared->bExclusive = false;
+ bReturn = true;
}
/* Did we just have a reader lock? */
@@ -22299,24 +22299,24 @@ static BOOL winceUnlockFile(
{
pFile->shared->nReaders --;
}
- bReturn = TRUE;
+ bReturn = true;
}
}
/* Releasing a pending lock */
else if (dwFileOffsetLow == PENDING_BYTE && nNumberOfBytesToUnlockLow == 1){
if (pFile->local.bPending){
- pFile->local.bPending = FALSE;
- pFile->shared->bPending = FALSE;
- bReturn = TRUE;
+ pFile->local.bPending = false;
+ pFile->shared->bPending = false;
+ bReturn = true;
}
}
/* Releasing a reserved lock */
else if (dwFileOffsetLow == RESERVED_BYTE && nNumberOfBytesToUnlockLow == 1){
if (pFile->local.bReserved) {
- pFile->local.bReserved = FALSE;
- pFile->shared->bReserved = FALSE;
- bReturn = TRUE;
+ pFile->local.bReserved = false;
+ pFile->shared->bReserved = false;
+ bReturn = true;
}
}
@@ -22327,7 +22327,7 @@ static BOOL winceUnlockFile(
/*
** An implementation of the LockFileEx() API of windows for wince
*/
-static BOOL winceLockFileEx(
+static bool winceLockFileEx(
HANDLE *phFile,
DWORD dwFlags,
DWORD dwReserved,
@@ -22342,7 +22342,7 @@ static BOOL winceLockFileEx(
nNumberOfBytesToLockLow == SHARED_SIZE){
return winceLockFile(phFile, SHARED_FIRST, 0, 1, 0);
}
- return FALSE;
+ return false;
}
/*
** End of the special code for wince
@@ -23920,8 +23920,8 @@ struct PgHdr {
PgHdr *pNextHash, *pPrevHash; /* Hash collision chain for PgHdr.pgno */
PagerLruLink free; /* Next and previous free pages */
PgHdr *pNextAll; /* A list of all pages */
- u8 inJournal; /* TRUE if has been written to journal */
- u8 dirty; /* TRUE if we need to write back changes */
+ u8 inJournal; /* true if has been written to journal */
+ u8 dirty; /* true if we need to write back changes */
u8 needSync; /* Sync journal before writing this page */
u8 alwaysRollback; /* Disable DontRollback() for this page */
u8 needRead; /* Read content if PagerWrite() is called */
@@ -23953,7 +23953,7 @@ struct PgHistory {
u8 *pOrig; /* Original page text. Restore to this on a full rollback */
u8 *pStmt; /* Text as it was at the beginning of the current statement */
PgHdr *pNextStmt, *pPrevStmt; /* List of pages in the statement journal */
- u8 inStmt; /* TRUE if in the statement subjournal */
+ u8 inStmt; /* true if in the statement subjournal */
};
/*
@@ -28073,8 +28073,8 @@ SQLITE_PRIVATE int sqlite3PagerWrite(DbPage *pDbPage){
}
/*
-** Return TRUE if the page given in the argument was previously passed
-** to sqlite3PagerWrite(). In other words, return TRUE if it is ok
+** Return true if the page given in the argument was previously passed
+** to sqlite3PagerWrite(). In other words, return true if it is ok
** to change the content of the page.
*/
#ifndef NDEBUG
@@ -28561,7 +28561,7 @@ SQLITE_PRIVATE int sqlite3PagerRollback(Pager *pPager){
}
/*
-** Return TRUE if the database file is opened read-only. Return FALSE
+** Return true if the database file is opened read-only. Return false
** if the database is (in theory) writable.
*/
SQLITE_PRIVATE int sqlite3PagerIsreadonly(Pager *pPager){
@@ -28762,7 +28762,7 @@ SQLITE_PRIVATE const char *sqlite3PagerJournalname(Pager *pPager){
}
/*
-** Return true if fsync() calls are disabled for this pager. Return FALSE
+** Return true if fsync() calls are disabled for this pager. Return false
** if fsync()s are executed normally.
*/
SQLITE_PRIVATE int sqlite3PagerNosync(Pager *pPager){
@@ -31443,8 +31443,8 @@ SQLITE_PRIVATE int sqlite3BtreeSetSafetyLevel(Btree *p, int level, int fullSync)
#endif
/*
-** Return TRUE if the given btree is set to safety level 1. In other
-** words, return TRUE if no sync() occurs on the disk files.
+** Return true if the given btree is set to safety level 1. In other
+** words, return true if no sync() occurs on the disk files.
*/
SQLITE_PRIVATE int sqlite3BtreeSyncDisabled(Btree *p){
BtShared *pBt = p->pBt;
@@ -33703,11 +33703,11 @@ moveto_finish:
/*
-** Return TRUE if the cursor is not pointing at an entry of the table.
+** Return true if the cursor is not pointing at an entry of the table.
**
-** TRUE will be returned after a call to sqlite3BtreeNext() moves
+** true will be returned after a call to sqlite3BtreeNext() moves
** past the last entry in the table or sqlite3BtreePrev() moves past
-** the first entry. TRUE is also returned if the table is empty.
+** the first entry. true is also returned if the table is empty.
*/
SQLITE_PRIVATE int sqlite3BtreeEof(BtCursor *pCur){
/* TODO: What if the cursor is in CURSOR_REQUIRESEEK but all table entries
@@ -40895,7 +40895,7 @@ int vdbeReprepare(Vdbe *p){
/*
-** Return TRUE (non-zero) of the statement supplied as an argument needs
+** Return true (non-zero) of the statement supplied as an argument needs
** to be recompiled. A statement needs to be recompiled whenever the
** execution environment changes in a way that would alter the program
** that sqlite3_prepare() generates. For example, if new functions or
@@ -43699,7 +43699,7 @@ case OP_Ge: { /* same as TK_GE, jump, in1, in3 */
*/
case OP_And: /* same as TK_AND, in1, in2, out3 */
case OP_Or: { /* same as TK_OR, in1, in2, out3 */
- int v1, v2; /* 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */
+ int v1, v2; /* 0==false, 1==true, 2==UNKNOWN or NULL */
if( pIn1->flags & MEM_Null ){
v1 = 2;
@@ -48519,7 +48519,7 @@ SQLITE_PRIVATE int sqlite3ExprIsInteger(Expr *p, int *pValue){
}
/*
-** Return TRUE if the given string is a row-id column name.
+** Return true if the given string is a row-id column name.
*/
SQLITE_PRIVATE int sqlite3IsRowid(const char *z){
if( sqlite3StrICmp(z, "_ROWID_")==0 ) return 1;
@@ -50250,7 +50250,7 @@ SQLITE_PRIVATE int sqlite3ExprCodeAndCache(Parse *pParse, Expr *pExpr, int targe
}
/*
-** Return TRUE if pExpr is an constant expression that is appropriate
+** Return true if pExpr is an constant expression that is appropriate
** for factoring out of a loop. Appropriate expressions are:
**
** * Any expression that evaluates to two or more opcodes.
@@ -50674,18 +50674,18 @@ SQLITE_PRIVATE void sqlite3ExprIfFalse(Parse *pParse, Expr *pExpr, int dest, int
}
/*
-** Do a deep comparison of two expression trees. Return TRUE (non-zero)
-** if they are identical and return FALSE if they differ in any way.
+** Do a deep comparison of two expression trees. Return true (non-zero)
+** if they are identical and return false if they differ in any way.
**
-** Sometimes this routine will return FALSE even if the two expressions
+** Sometimes this routine will return false even if the two expressions
** really are equivalent. If we cannot prove that the expressions are
-** identical, we return FALSE just to be safe. So if this routine
+** identical, we return false just to be safe. So if this routine
** returns false, then you do not really know for certain if the two
-** expressions are the same. But if you get a TRUE return, then you
+** expressions are the same. But if you get a true return, then you
** can be sure the expressions are the same. In the places where
-** this routine is used, it does not hurt to get an extra FALSE - that
+** this routine is used, it does not hurt to get an extra false - that
** just might result in some slightly slower code. But returning
-** an incorrect TRUE could lead to a malfunction.
+** an incorrect true could lead to a malfunction.
*/
SQLITE_PRIVATE int sqlite3ExprCompare(Expr *pA, Expr *pB){
int i;
@@ -52418,8 +52418,8 @@ SQLITE_PRIVATE void sqlite3AttachFunctions(sqlite3 *db){
** Initialize a DbFixer structure. This routine must be called prior
** to passing the structure to one of the sqliteFixAAAA() routines below.
**
-** The return value indicates whether or not fixation is required. TRUE
-** means we do need to fix the database references, FALSE means we do not.
+** The return value indicates whether or not fixation is required. true
+** means we do need to fix the database references, false means we do not.
*/
SQLITE_PRIVATE int sqlite3FixInit(
DbFixer *pFix, /* The fixer to be initialized */
@@ -54434,7 +54434,7 @@ SQLITE_PRIVATE void sqlite3CreateView(
Token *pName1, /* The token that holds the name of the view */
Token *pName2, /* The token that holds the name of the view */
Select *pSelect, /* A SELECT statement that will become the new view */
- int isTemp, /* TRUE for a TEMPORARY view */
+ int isTemp, /* true for a TEMPORARY view */
int noErr /* Suppress error messages if VIEW already exists */
){
Table *p;
@@ -58574,8 +58574,8 @@ SQLITE_PRIVATE void sqlite3RegisterLikeFunctions(sqlite3 *db, int caseSensitive)
** pExpr points to an expression which implements a function. If
** it is appropriate to apply the LIKE optimization to that function
** then set aWc[0] through aWc[2] to the wildcard characters and
-** return TRUE. If the function is not a LIKE-style function then
-** return FALSE.
+** return true. If the function is not a LIKE-style function then
+** return false.
*/
SQLITE_PRIVATE int sqlite3IsLikeFunction(sqlite3 *db, Expr *pExpr, int *pIsNocase, char *aWc){
FuncDef *pDef;
@@ -59109,8 +59109,8 @@ SQLITE_PRIVATE void sqlite3Insert(
assert( pSelect->pEList );
nColumn = pSelect->pEList->nExpr;
- /* Set useTempTable to TRUE if the result of the SELECT statement
- ** should be written into a temporary table. Set to FALSE if each
+ /* Set useTempTable to true if the result of the SELECT statement
+ ** should be written into a temporary table. Set to false if each
** row of the SELECT can be written directly into the result table.
**
** A temp table must be used if the table being updated is also one
@@ -60040,9 +60040,9 @@ static int xferCompatibleIndex(Index *pDest, Index *pSrc){
** the indices of tab2 are transfered to tab1 as well. In so doing,
** the resulting tab1 has much less fragmentation.
**
-** This routine returns TRUE if the optimization is attempted. If any
+** This routine returns true if the optimization is attempted. If any
** of the conditions above fail so that the optimization should not
-** be attempted, then this routine returns FALSE.
+** be attempted, then this routine returns false.
*/
static int xferOptimization(
Parse *pParse, /* Parser context */
@@ -65045,7 +65045,7 @@ static int processOrderGroupBy(
Select *pSelect, /* The SELECT statement containing the clause */
ExprList *pOrderBy, /* The ORDER BY or GROUP BY clause to be processed */
int isOrder, /* 1 for ORDER BY. 0 for GROUP BY */
- u8 *pHasAgg /* Set to TRUE if any term contains an aggregate */
+ u8 *pHasAgg /* Set to true if any term contains an aggregate */
){
int i;
sqlite3 *db = pParse->db;
@@ -67942,7 +67942,7 @@ SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger(sqlite3 *db, int iDb, const ch
** pEList is the SET clause of an UPDATE statement. Each entry
** in pEList is of the format <id>=<expr>. If any of the entries
** in pEList have an <id> which matches an identifier in pIdList,
-** then return TRUE. If pIdList==NULL, then it is considered a
+** then return true. If pIdList==NULL, then it is considered a
** wildcard that matches anything. Likewise if pEList==NULL then
** it matches anything so always return true. Return false only
** if there is no match.
@@ -70367,7 +70367,7 @@ static Bitmask exprSelectTableUsage(ExprMaskSet *pMaskSet, Select *pS){
}
/*
-** Return TRUE if the given operator is one of the operators that is
+** Return true if the given operator is one of the operators that is
** allowed for an indexable WHERE clause term. The allowed operators are
** "=", "<", ">", "<=", ">=", and "IN".
*/
@@ -70510,7 +70510,7 @@ static void exprAnalyzeAll(
#ifndef SQLITE_OMIT_LIKE_OPTIMIZATION
/*
** Check to see if the given expression is a LIKE or GLOB operator that
-** can be optimized using inequality constraints. Return TRUE if it is
+** can be optimized using inequality constraints. Return true if it is
** so and false if not.
**
** In order for the operator to be optimizible, the RHS must be a string
@@ -70578,7 +70578,7 @@ static int isLikeOrGlob(
**
** column MATCH expr
**
-** If it is then return TRUE. If not, return FALSE.
+** If it is then return true. If not, return false.
*/
static int isMatchOfColumn(
Expr *pExpr /* Test this expression */
@@ -70614,7 +70614,7 @@ static void transferJoinMarkings(Expr *pDerived, Expr *pBase){
#if !defined(SQLITE_OMIT_OR_OPTIMIZATION) && !defined(SQLITE_OMIT_SUBQUERY)
/*
-** Return TRUE if the given term of an OR clause can be converted
+** Return true if the given term of an OR clause can be converted
** into an IN clause. The iCursor and iColumn define the left-hand
** side of the IN clause.
**
@@ -70988,7 +70988,7 @@ or_not_possible:
}
/*
-** Return TRUE if any of the expressions in pList->a[iFirst...] contain
+** Return true if any of the expressions in pList->a[iFirst...] contain
** a reference to any table other than the iBase table.
*/
static int referencesOtherTables(
@@ -76788,7 +76788,7 @@ SQLITE_PRIVATE const char sqlite3IsEbcdicIdChar[];
#define tkEND 7
/*
-** Return TRUE if the given SQL string ends in a semicolon.
+** Return true if the given SQL string ends in a semicolon.
**
** Special handling is require for CREATE TRIGGER statements.
** Whenever the CREATE TRIGGER keywords are seen, the statement
@@ -77777,7 +77777,7 @@ SQLITE_API void *sqlite3_rollback_hook(
SQLITE_PRIVATE int sqlite3BtreeFactory(
const sqlite3 *db, /* Main database when opening aux otherwise 0 */
const char *zFilename, /* Name of the file containing the BTree database */
- int omitJournal, /* if TRUE then do not journal this file */
+ int omitJournal, /* if true then do not journal this file */
int nCache, /* How many pages in the page cache */
int vfsFlags, /* Flags passed through to vfsOpen */
Btree **ppBtree /* Pointer to new Btree object written here */
@@ -78406,7 +78406,7 @@ SQLITE_API int sqlite3_global_recover(void){
/*
** Test to see whether or not the database connection is in autocommit
-** mode. Return TRUE if it is and FALSE if not. Autocommit mode is on
+** mode. Return true if it is and false if not. Autocommit mode is on
** by default. Autocommit is disabled by a BEGIN statement and reenabled
** by the next COMMIT or ROLLBACK.
**
@@ -85971,7 +85971,7 @@ static int m_gt_1(const char *z){
}
/*
-** Return TRUE if there is a vowel anywhere within z[0..n-1]
+** Return true if there is a vowel anywhere within z[0..n-1]
*/
static int hasVowel(const char *z){
while( isConsonant(z) ){ z++; }
@@ -85979,7 +85979,7 @@ static int hasVowel(const char *z){
}
/*
-** Return TRUE if the word ends in a double consonant.
+** Return true if the word ends in a double consonant.
**
** The text is reversed here. So we are really looking at
** the first two characters of z[].
@@ -85989,7 +85989,7 @@ static int doubleConsonant(const char *z){
}
/*
-** Return TRUE if the word ends with three letters which
+** Return true if the word ends with three letters which
** are consonant-vowel-consonent and where the final consonant
** is not 'w', 'x', or 'y'.
**
@@ -86012,8 +86012,8 @@ static int star_oh(const char *z){
** The input word *pz and zFrom are both in reverse order. zTo
** is in normal order.
**
-** Return TRUE if zFrom matches. Return FALSE if zFrom does not
-** match. Not that TRUE is returned even if xCond() fails and
+** Return true if zFrom matches. Return false if zFrom does not
+** match. Not that true is returned even if xCond() fails and
** no substitution occurs.
*/
static int stem(
diff --git a/src/libs/sqlite3/sqlite3.h b/src/libs/sqlite3/sqlite3.h
index 57837cbb..3ffc4334 100644
--- a/src/libs/sqlite3/sqlite3.h
+++ b/src/libs/sqlite3/sqlite3.h
@@ -4927,7 +4927,7 @@ struct sqlite3_module {
** Where OP is =, &lt;, &lt;=, &gt;, or &gt;=.
** The particular operator is stored
** in aConstraint[].op. The index of the column is stored in
-** aConstraint[].iColumn. aConstraint[].usable is TRUE if the
+** aConstraint[].iColumn. aConstraint[].usable is true if the
** expr on the right-hand side can be evaluated (and thus the constraint
** is usable) and false if it cannot.
**