Lines Matching defs:SQLITE_CORRUPT

771 #define SQLITE_CORRUPT     11   /* The database disk image is malformed */
858 #define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8))
859 #define SQLITE_CORRUPT_SEQUENCE (SQLITE_CORRUPT | (2<<8))
860 #define SQLITE_CORRUPT_INDEX (SQLITE_CORRUPT | (3<<8))
4010 ** in incorrect query results and/or [SQLITE_CORRUPT] errors.
5279 ** [SQLITE_INTERRUPT], [SQLITE_SCHEMA], [SQLITE_CORRUPT], and so forth)
11748 ** which returns SQLITE_CORRUPT if it is passed a patchset. Similarly,
11750 ** sqlite3changeset_xxx APIs also provokes an SQLITE_CORRUPT error.
11880 ** codes include SQLITE_CORRUPT (if the changeset buffer is corrupt) or
12081 ** function (for example an [SQLITE_CORRUPT] in [sqlite3changeset_next()] or an
12333 ** detected, SQLITE_CORRUPT is returned. Or, if an out-of-memory condition
41775 ** SQLITE_IOERR_CORRUPTFS will be converted into SQLITE_CORRUPT
53202 rc = SQLITE_CORRUPT;
63883 assert( rc==SQLITE_OK || rc==SQLITE_FULL || rc==SQLITE_CORRUPT
70687 sqlite3ReportError(SQLITE_CORRUPT, lineno, zMsg);
72279 ** detected then *pRc is set to SQLITE_CORRUPT and NULL is returned.
72348 ** an error code (usually SQLITE_CORRUPT).
72454 ** routine and return SQLITE_CORRUPT if any problems are found.
72747 ** SQLITE_CORRUPT. Note that a return of SQLITE_OK does not
73025 ** call to btreeInitPage() will likely return SQLITE_CORRUPT.
73806 ** well-formed database file, then SQLITE_CORRUPT is returned.
75919 ** This function returns SQLITE_CORRUPT if the page-header flags field of
76071 ** return an SQLITE_CORRUPT error.
76644 (pIdxKey->errCode!=SQLITE_CORRUPT || c==0)
79525 ** Return SQLITE_CORRUPT if any cursor other than pCur is currently valid
81337 assert( rc==SQLITE_CORRUPT ); /* The only possible error from InitPage */
81343 assert( rc==SQLITE_CORRUPT );
81869 ** no modifications are made and SQLITE_CORRUPT is returned.
88217 rc = SQLITE_CORRUPT;
89138 if( szHdr1>98307 ) return SQLITE_CORRUPT;
89536 ** SQLITE_CORRUPT and return 0. If an OOM error is encountered,
90058 ** allocated. Free the m object and return SQLITE_CORRUPT. */
97143 /* Writes prohibited due to a prior SQLITE_CORRUPT in the current
97145 rc = SQLITE_CORRUPT;
98473 ** Or, if P2 is 0, raise an SQLITE_CORRUPT error. If P1 does contain
98497 ** SQLITE_CORRUPT error. If P1 does contain a record with rowid P3 then
101954 ** If P3 is not zero, then it is an address to jump to if an SQLITE_CORRUPT
102213 if( rc==SQLITE_CORRUPT && db->autoCommit==0 ){
140911 aOp[5].p4.z = (char*)sqlite3ErrStr(SQLITE_CORRUPT);
154953 sqlite3VdbeAddOp4(v, OP_Halt, SQLITE_CORRUPT, OE_Abort, 0,
181350 case SQLITE_CORRUPT: zName = "SQLITE_CORRUPT"; break;
181423 /* SQLITE_CORRUPT */ "database disk image is malformed",
183620 ** The following routines are substitutes for constants SQLITE_CORRUPT,
183637 return sqlite3ReportError(SQLITE_CORRUPT, lineno, "database corruption");
183652 return sqlite3ReportError(SQLITE_CORRUPT, lineno, zMsg);
190173 if( rc==SQLITE_ERROR || (rc&0xFF)==SQLITE_CORRUPT ){
214489 if( rc!=SQLITE_CORRUPT ) check.rc = rc;
220832 p->rc = SQLITE_CORRUPT;
220873 rc = SQLITE_CORRUPT;
222257 p->rc = SQLITE_CORRUPT;
224733 ** request this page from the page is an SQLITE_CORRUPT error. */
228709 ** or SQLITE_CORRUPT.
229141 rc = SQLITE_CORRUPT;
248679 ** Return SQLITE_CORRUPT if any of the internal checks fail, or if the
252579 if( (rc&0xff)==SQLITE_CORRUPT ){
253656 ** table. Return SQLITE_OK if they do, or SQLITE_CORRUPT if not. Return