Lines Matching defs:failed

762 #define SQLITE_NOMEM        7   /* A malloc() failed */
768 #define SQLITE_FULL 13 /* Insertion failed because database is full */
1052 ** may be invoked even if the [sqlite3_vfs.xOpen] reported that it failed. The
1053 ** only way to prevent a call to xClose following a failed [sqlite3_vfs.xOpen]
4169 ** [database connection] D failed, then the sqlite3_errcode(D) interface
5471 ** SQLITE_OK. ^If the most recent evaluation of statement S failed, then
6178 ** error indicating that a memory allocation failed.
7927 ** with a null pointer (such as would be returned by a failed call to
8783 ** been satisfied using lookaside memory but failed due to the amount of
8791 ** been satisfied using lookaside memory but failed due to all lookaside
9130 ** failed.)^ In between the xFetch() calls, SQLite may
9275 ** ^The error code and message for the failed call to sqlite3_backup_init()
9322 ** that the backup operation has failed and pass the backup operation handle
16964 #define UAUTH_Fail 1 /* User authentication failed */
17138 ** tried to do recently failed with an SQLITE_LOCKED error due to locks
25008 ** means the commit really has failed and an error should be returned
25600 sqlite3_log(SQLITE_NOMEM, "failed to allocate %u bytes of memory", nByte);
25613 sqlite3_log(SQLITE_NOMEM, "failed to allocate %u bytes of memory", nByte);
25671 "failed memory resize %u to %u bytes",
25687 "failed memory resize %u to %u bytes",
27231 sqlite3_log(SQLITE_NOMEM, "failed to allocate %u bytes", nByte);
34994 ** use. sqlite3SafetyCheckSickOrOk() allows a db pointer that failed to
38036 ** failed (e.g. "unlink", "open") and the associated file-system path,
38042 const char *zFunc, /* Name of OS function that failed */
38704 rc==SQLITE_OK ? "ok" : "failed"));
39130 /* failed to open/create the lock directory */
39269 /* unlock failed with an error */
39353 rc==SQLITE_OK ? "ok" : "failed"));
39656 OSTRACE(("AFPSETLOCK failed to fsctl() '%s' %d %s\n",
39709 /* if we failed to get the lock then someone else must have it */
39815 int failed;
39816 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1);
39817 if (failed) {
39818 rc = failed;
39869 int failed = 0;
39873 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1);
39874 if( !failed ){
39878 if (!failed && eFileLock == EXCLUSIVE_LOCK) {
39884 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST +
39888 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST,
39890 if( failed && (failed2 = afpSetLock(context->dbPath, pFile,
39895 rc = ((failed & 0xff) == SQLITE_IOERR) ? failed2 :
39900 rc = failed;
39903 if( failed ){
39904 rc = failed;
39919 rc==SQLITE_OK ? "ok" : "failed"));
40114 ** To avoid stomping the errno value on a failed read the lastErrno value
40291 ** To avoid stomping the errno value on a failed write the lastErrno value
40499 /* If the FULLFSYNC failed, fall back to attempting an fsync().
41317 OSTRACE(("unlock %d failed", ofst));
41319 OSTRACE(("read-lock failed"));
41322 OSTRACE(("write-lock %d failed", ofst));
41408 ** EXCLUSIVE failed just before truncating the *-shm file, then this
42096 /* The attempt to extend the existing mapping failed. Free it. */
42112 /* If the mmap() above failed, assume that all subsequent mmap() calls
42599 ** (a) A call to fstat() failed.
42600 ** (b) A malloc failed.
43917 OSTRACE(("GETLOCKPATH failed %s errno=%d pid=%d\n",
44157 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
44161 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
44165 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
44180 fprintf(stderr, "failed to break stale lock on %s, %s\n", cPath, errmsg);
44200 /* If the lock failed (busy):
44487 rc==SQLITE_OK?"ok":"failed"));
44512 (rc==SQLITE_OK ? "ok" : "failed")));
44709 (rc==SQLITE_OK ? "ok" : "failed")));
46340 sqlite3_log(SQLITE_NOMEM, "failed to HeapCompact (no space), heap=%p",
46344 sqlite3_log(SQLITE_ERROR, "failed to HeapCompact (%lu), heap=%p",
46350 sqlite3_log(SQLITE_NOTFOUND, "failed to HeapCompact, heap=%p",
46557 sqlite3_log(SQLITE_NOMEM, "failed to HeapAlloc %u bytes (%lu), heap=%p",
46578 sqlite3_log(SQLITE_NOMEM, "failed to HeapFree block %p (%lu), heap=%p",
46604 sqlite3_log(SQLITE_NOMEM, "failed to %s %u bytes (%lu), heap=%p",
46628 sqlite3_log(SQLITE_NOMEM, "failed to HeapSize block %p (%lu), heap=%p",
46665 "failed to HeapCreate (%lu), flags=%u, initSize=%lu, maxSize=%lu",
46677 "failed to GetProcessHeap (%lu)", osGetLastError());
46708 sqlite3_log(SQLITE_NOMEM, "failed to HeapDestroy (%lu), heap=%p",
47155 ** failed and the associated file-system path, if any.
47161 const char *zFunc, /* Name of OS function that failed */
47381 /* If mapping failed, close the shared memory handle and erase it */
47782 osGetCurrentProcessId(), pFile, pFile->h, rc ? "ok" : "failed"));
48928 osGetCurrentProcessId(), i, bRc ? "ok" : "failed"));
48932 osGetCurrentProcessId(), i, bRc ? "ok" : "failed"));
49383 hMap ? "ok" : "failed"));
49398 szRegion, pMap ? "ok" : "failed"));
50320 dwDesiredAccess, (h==INVALID_HANDLE_VALUE) ? "failed" : "ok"));
50347 *pOutFlags : 0, (h==INVALID_HANDLE_VALUE) ? "failed" : "ok"));
58361 ** it is corrupted, then a process must have failed while writing it.
59263 ** function was called, or because the memory allocation attempt failed,
60797 goto failed;
60807 goto failed;
60812 goto failed;
60832 goto failed;
60903 goto failed;
60935 goto failed;
60973 failed:
63103 /* If the attempt to grab the exclusive lock failed, release the
64251 /* Checksum failed. */
64299 walLockName(lockIdx), rc ? "failed" : "ok"));
64315 walLockName(lockIdx), n, rc ? "failed" : "ok"));
64798 WALTRACE(("WAL%p: recovery %s\n", pWal, rc ? "failed" : "ok"));
65756 int badHdr; /* True if a header read failed */
65796 /* If the first attempt failed, it might have been due to a race
67052 WALTRACE(("WAL%p: wal-header write %s\n", pWal, rc ? "failed" : "ok"));
67209 WALTRACE(("WAL%p: frame write %s\n", pWal, rc ? "failed" : "ok"));
67344 WALTRACE(("WAL%p: checkpoint %s\n", pWal, rc ? "failed" : "ok"));
70723 ** we failed to detect any corruption.
78909 checkAppendMsg(pCheck, "failed to get page %d", iPage);
83287 ** If malloc failed, then the while() loop above may not have iterated
84797 ** sqlite3_column_text16() failed. */
85663 sqlite3VdbeError(p, "FOREIGN KEY constraint failed");
87061 ** malloc-failed flag set on database handle (pPKey2->pKeyInfo->db).
88714 ** already been done once on a prior invocation that failed due to
88955 if( pVdbe==0 ) goto failed;
88967 if( !pAuxData ) goto failed;
88981 failed:
89085 ** malloc() has failed, the threads mallocFailed flag is cleared and the result
89101 /* If malloc() failed during an encoding conversion within an
89230 /* A malloc may have failed inside of the _text() call. If this
91082 ** sqlite3_column_text16() failed. */
91460 ** 1: NOT NULL contraint failed: P4
91461 ** 2: UNIQUE constraint failed: P4
91462 ** 3: CHECK constraint failed: P4
91463 ** 4: FOREIGN KEY constraint failed: P4
91516 sqlite3VdbeError(p, "%s constraint failed", azType[pOp->p5-1]);
112778 " THEN raise(ABORT,'CHECK constraint failed')"
112779 " ELSE raise(ABORT,'NOT NULL constraint failed')"
116784 ** If this fails, or if opening the file failed, then close the file and
118278 ** If malloc has already failed, it may be that it failed while allocating
120396 assert( p==pOld ); /* Malloc must have failed inside HashInsert() */
121838 assert( p==pIndex ); /* Malloc must have failed */
125159 ** the database handle that malloc() has failed and return NULL.
128453 pRaise = sqlite3Expr(db, TK_RAISE, "FOREIGN KEY constraint failed");
129067 assert( v ); /* We failed long ago if this is not so */
133523 "automatic extension loading failed: %s", zErrmsg);
135324 sqlite3ErrorMsg(pParse, "failed to set lock proxy file");
136203 zErr = sqlite3MPrintf(db, "CHECK constraint failed in %s",
141692 assert( v!=0 ); /* Already thrown the error if VDBE alloc failed */
149439 ** If pIdx is NULL, then the UNIQUE constraint that failed was the IPK.
149442 ** is not NULL, then pIdx is the constraint that failed and iCur is a
149449 Index *pIdx, /* The UNIQUE constraint that failed */
150456 assert( pTab==pOld ); /* Malloc must have failed inside HashInsert() */
150556 *pzErr = sqlite3MPrintf(db, "vtable constructor failed: %s", zModuleName);
151154 ** exists when this routine returns or if an attempt to create it failed
155773 assert( pExpr!=0 ); /* Because malloc() has not failed */
160655 /* If the calls to xBestIndex() have so far failed to find a plan
173675 ** subsystem could not be initialized or the system failed to allocate
175038 /* SQLITE_CONSTRAINT */ "constraint failed",
175133 ** This routine is called when an operation failed to acquire a
176074 /* A malloc() may have failed within the call to sqlite3_value_text16()
176088 ** passed to this function, we assume a malloc() failed during sqlite3_open().
177336 /* Whether the function call succeeded or failed, set the output parameters
178637 ** allocate a larger array from the heap has failed.
190654 /* Malloc failed while inserting the new entry. This can only
204114 ** A constraint has failed while inserting a row into an rtree table.
204120 ** constraint failure. If it is 0, then the constraint that failed is
204122 ** (c1<=c2) constraint on columns iCol and iCol+1 that has failed.
204144 "UNIQUE constraint failed: %s.%s", pRtree->zName, zCol
204150 "rtree constraint failed: %s.(%s<=%s)", pRtree->zName, zCol1, zCol2
204235 ** the table. If so, the constraint has failed. */
206977 ** the table. If so, the constraint has failed. */
207408 const char *zName, /* Name of ICU function that failed */
216433 ** session object to failed and return SQLITE_ERROR. Otherwise, return
216954 /* If an error has occurred, mark the session object as failed. */
225812 ** the gobbled word if successful, or a NULL pointer otherwise (failed
225822 ** set if a parse error (failed to find close quote) occurs.
245312 sqlite3_log(SQLITE_NOMEM, "codec: alloc mem failed when set cipher page size(%d).", size);