Lines Matching refs:zErrMsg

6106     sqlite3_free(pVTab->zErrMsg);  in seriesBestIndex()
6107 pVTab->zErrMsg = sqlite3_mprintf( in seriesBestIndex()
7762 pCur->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap); in fsdirSetErrmsg()
8786 static void apndDlError(sqlite3_vfs*, int nByte, char *zErrMsg);
9221 static void apndDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ in apndDlError() argument
9222 ORIGVFS(pVfs)->xDlError(ORIGVFS(pVfs), nByte, zErrMsg); in apndDlError()
9799 sqlite3_free(pTab->base.zErrMsg); in zipfileTableErr()
9800 pTab->base.zErrMsg = sqlite3_vmprintf(zFmt, ap); in zipfileTableErr()
9806 sqlite3_free(pCsr->base.pVtab->zErrMsg); in zipfileCursorErr()
9807 pCsr->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap); in zipfileCursorErr()
9848 pTab->base.zErrMsg = sqlite3_mprintf("error in fwrite()"); in zipfileAppendData()
10109 char **pzErr = &pTab->base.zErrMsg; in zipfileGetEntry()
10382 &pCsr->base.pVtab->zErrMsg in zipfileColumn()
10461 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
10479 pTab->base.zErrMsg = sqlite3_mprintf( in zipfileReadEOCD()
10772 pTab->base.zErrMsg = sqlite3_mprintf("zipfile: missing filename"); in zipfileBegin()
10782 pTab->base.zErrMsg = sqlite3_mprintf( in zipfileBegin()
10942 rc = zipfileDeflate(aIn, nIn, &pFree, &nCmp, &pTab->base.zErrMsg); in zipfileUpdate()
10957 rc = zipfileGetMode(apVal[3], bIsDir, &mode, &pTab->base.zErrMsg); in zipfileUpdate()
12465 rc = idxPrintfPrepareStmt(pExpert->db, &pCsr->pData, &pVtab->base.zErrMsg, in expertFilter()
15080 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db)); in dbdataFilter()
15424 char *zErrMsg; /* For sqlite3_recover_errmsg() */ member
15577 sqlite3_free(p->zErrMsg); in recoverError()
15578 p->zErrMsg = z; in recoverError()
15929 if( p->zErrMsg ) sqlite3_result_error(pCtx, p->zErrMsg, -1); in recoverGetPage()
17962 return (p && p->errCode!=SQLITE_NOMEM) ? p->zErrMsg : "out of memory"; in sqlite3_recover_errmsg()
18070 sqlite3_free(p->zErrMsg); in sqlite3_recover_finish()
18372 const char *zErrMsg, in failIfSafeMode() argument
18378 va_start(ap, zErrMsg); in failIfSafeMode()
18379 zMsg = sqlite3_vmprintf(zErrMsg, ap); in failIfSafeMode()
19652 char *zErrMsg = 0; in createSelftestTable() local
19688 ,0,0,&zErrMsg); in createSelftestTable()
19689 if( zErrMsg ){ in createSelftestTable()
19690 eputf("SELFTEST initialization failure: %s\n", zErrMsg); in createSelftestTable()
19691 sqlite3_free(zErrMsg); in createSelftestTable()
22891 char *zErrMsg = 0; in tryToCloneSchema() local
22908 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); in tryToCloneSchema()
22909 if( zErrMsg ){ in tryToCloneSchema()
22910 eputf("Error: %s\nSQL: [%s]\n", zErrMsg, zSql); in tryToCloneSchema()
22911 sqlite3_free(zErrMsg); in tryToCloneSchema()
22912 zErrMsg = 0; in tryToCloneSchema()
22938 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); in tryToCloneSchema()
22939 if( zErrMsg ){ in tryToCloneSchema()
22940 eputf("Error: %s\nSQL: [%s]\n", zErrMsg, zSql); in tryToCloneSchema()
22941 sqlite3_free(zErrMsg); in tryToCloneSchema()
22942 zErrMsg = 0; in tryToCloneSchema()
26047 char *zErrMsg = 0; in do_meta_command() local
26058 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg); in do_meta_command()
26060 eputf("Error: %s\n", zErrMsg); in do_meta_command()
26061 sqlite3_free(zErrMsg); in do_meta_command()
26737 char *zErrMsg = 0; in do_meta_command() local
26861 rc = sqlite3_exec(p->db, sSelect.z, callback, &data, &zErrMsg); in do_meta_command()
26865 if( zErrMsg ){ in do_meta_command()
26866 eputf("Error: %s\n", zErrMsg); in do_meta_command()
26867 sqlite3_free(zErrMsg); in do_meta_command()
27176 char *zErrMsg = 0; in do_meta_command() local
27179 rc = sqlite3_exec(p->db, zSql, captureOutputCallback, &str, &zErrMsg); in do_meta_command()
27184 if( rc || zErrMsg ){ in do_meta_command()
27187 oputf("%d: error-code-%d: %s\n", tno, rc, zErrMsg); in do_meta_command()
27188 sqlite3_free(zErrMsg); in do_meta_command()
28356 char *zErrMsg = 0; in runOneSqlLine() local
28362 rc = shell_exec(p, zSql, &zErrMsg); in runOneSqlLine()
28364 if( rc || zErrMsg ){ in runOneSqlLine()
28368 if( zErrMsg==0 ){ in runOneSqlLine()
28371 }else if( cli_strncmp(zErrMsg, "in prepare, ",12)==0 ){ in runOneSqlLine()
28373 zErrorTail = &zErrMsg[12]; in runOneSqlLine()
28374 }else if( cli_strncmp(zErrMsg, "stepping, ", 10)==0 ){ in runOneSqlLine()
28376 zErrorTail = &zErrMsg[10]; in runOneSqlLine()
28379 zErrorTail = zErrMsg; in runOneSqlLine()
28388 sqlite3_free(zErrMsg); in runOneSqlLine()
28389 zErrMsg = 0; in runOneSqlLine()
28882 char *zErrMsg = 0; local
29361 rc = shell_exec(&data, z, &zErrMsg);
29362 if( zErrMsg!=0 ){
29363 eputf("Error: %s\n", zErrMsg);
29414 rc = shell_exec(&data, azCmd[i], &zErrMsg);
29415 if( zErrMsg || rc ){
29416 if( zErrMsg!=0 ){
29417 eputf("Error: %s\n", zErrMsg);
29421 sqlite3_free(zErrMsg);