Lines Matching refs:zErrMsg
2830 pCur->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap); in fsdirSetErrmsg()
3852 static void apndDlError(sqlite3_vfs*, int nByte, char *zErrMsg);
4287 static void apndDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ in apndDlError() argument
4288 ORIGVFS(pVfs)->xDlError(ORIGVFS(pVfs), nByte, zErrMsg); in apndDlError()
5874 sqlite3_free(pVTab->zErrMsg); in seriesBestIndex()
5875 pVTab->zErrMsg = sqlite3_mprintf( in seriesBestIndex()
7238 sqlite3_free(pTab->base.zErrMsg); in zipfileTableErr()
7239 pTab->base.zErrMsg = sqlite3_vmprintf(zFmt, ap); in zipfileTableErr()
7245 sqlite3_free(pCsr->base.pVtab->zErrMsg); in zipfileCursorErr()
7246 pCsr->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap); in zipfileCursorErr()
7287 pTab->base.zErrMsg = sqlite3_mprintf("error in fwrite()"); in zipfileAppendData()
7548 char **pzErr = &pTab->base.zErrMsg; in zipfileGetEntry()
7820 &pCsr->base.pVtab->zErrMsg in zipfileColumn()
7896 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
7914 pTab->base.zErrMsg = sqlite3_mprintf( in zipfileReadEOCD()
8198 pTab->base.zErrMsg = sqlite3_mprintf("zipfile: missing filename"); in zipfileBegin()
8208 pTab->base.zErrMsg = sqlite3_mprintf( in zipfileBegin()
8356 rc = zipfileDeflate(aIn, nIn, &pFree, &nCmp, &pTab->base.zErrMsg); in zipfileUpdate()
8371 rc = zipfileGetMode(apVal[3], bIsDir, &mode, &pTab->base.zErrMsg); in zipfileUpdate()
9872 rc = idxPrintfPrepareStmt(pExpert->db, &pCsr->pData, &pVtab->base.zErrMsg, in expertFilter()
12003 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db)); in dbdataFilter()
12381 const char *zErrMsg, in failIfSafeMode() argument
12387 va_start(ap, zErrMsg); in failIfSafeMode()
12388 zMsg = sqlite3_vmprintf(zErrMsg, ap); in failIfSafeMode()
13535 char *zErrMsg = 0; in createSelftestTable() local
13571 ,0,0,&zErrMsg); in createSelftestTable()
13572 if( zErrMsg ){ in createSelftestTable()
13573 utf8_printf(stderr, "SELFTEST initialization failure: %s\n", zErrMsg); in createSelftestTable()
13574 sqlite3_free(zErrMsg); in createSelftestTable()
16406 char *zErrMsg = 0; in tryToCloneSchema() local
16421 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); in tryToCloneSchema()
16422 if( zErrMsg ){ in tryToCloneSchema()
16423 utf8_printf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql); in tryToCloneSchema()
16424 sqlite3_free(zErrMsg); in tryToCloneSchema()
16425 zErrMsg = 0; in tryToCloneSchema()
16448 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); in tryToCloneSchema()
16449 if( zErrMsg ){ in tryToCloneSchema()
16450 utf8_printf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql); in tryToCloneSchema()
16451 sqlite3_free(zErrMsg); in tryToCloneSchema()
16452 zErrMsg = 0; in tryToCloneSchema()
19855 char *zErrMsg = 0; in do_meta_command() local
19865 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg); in do_meta_command()
19867 utf8_printf(stderr, "Error: %s\n", zErrMsg); in do_meta_command()
19868 sqlite3_free(zErrMsg); in do_meta_command()
20460 char *zErrMsg = 0; in do_meta_command() local
20581 rc = sqlite3_exec(p->db, sSelect.z, callback, &data, &zErrMsg); in do_meta_command()
20585 if( zErrMsg ){ in do_meta_command()
20586 utf8_printf(stderr,"Error: %s\n", zErrMsg); in do_meta_command()
20587 sqlite3_free(zErrMsg); in do_meta_command()
20897 char *zErrMsg = 0; in do_meta_command() local
20900 rc = sqlite3_exec(p->db, zSql, captureOutputCallback, &str, &zErrMsg); in do_meta_command()
20905 if( rc || zErrMsg ){ in do_meta_command()
20908 utf8_printf(p->out, "%d: error-code-%d: %s\n", tno, rc, zErrMsg); in do_meta_command()
20909 sqlite3_free(zErrMsg); in do_meta_command()
21885 char *zErrMsg = 0; in runOneSqlLine() local
21891 rc = shell_exec(p, zSql, &zErrMsg); in runOneSqlLine()
21893 if( rc || zErrMsg ){ in runOneSqlLine()
21901 if( zErrMsg!=0 ){ in runOneSqlLine()
21902 utf8_printf(stderr, "%s %s\n", zPrefix, zErrMsg); in runOneSqlLine()
21903 sqlite3_free(zErrMsg); in runOneSqlLine()
21904 zErrMsg = 0; in runOneSqlLine()
22296 char *zErrMsg = 0; local
22732 rc = shell_exec(&data, z, &zErrMsg);
22733 if( zErrMsg!=0 ){
22734 utf8_printf(stderr,"Error: %s\n", zErrMsg);
22782 rc = shell_exec(&data, azCmd[i], &zErrMsg);
22783 if( zErrMsg || rc ){
22784 if( zErrMsg!=0 ){
22785 utf8_printf(stderr,"Error: %s\n", zErrMsg);
22789 sqlite3_free(zErrMsg);