Lines Matching refs:zErrMsg

2759   pCur->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap);  in fsdirSetErrmsg()
3730 static void apndDlError(sqlite3_vfs*, int nByte, char *zErrMsg);
4102 static void apndDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ in apndDlError() argument
4103 ORIGVFS(pVfs)->xDlError(ORIGVFS(pVfs), nByte, zErrMsg); in apndDlError()
4865 sqlite3_free(pTab->base.zErrMsg); in zipfileTableErr()
4866 pTab->base.zErrMsg = sqlite3_vmprintf(zFmt, ap); in zipfileTableErr()
4872 sqlite3_free(pCsr->base.pVtab->zErrMsg); in zipfileCursorErr()
4873 pCsr->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap); in zipfileCursorErr()
4913 pTab->base.zErrMsg = sqlite3_mprintf("error in fwrite()"); in zipfileAppendData()
5182 char **pzErr = &pTab->base.zErrMsg; in zipfileGetEntry()
5454 &pCsr->base.pVtab->zErrMsg in zipfileColumn()
5530 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
5548 pTab->base.zErrMsg = sqlite3_mprintf( in zipfileReadEOCD()
5832 pTab->base.zErrMsg = sqlite3_mprintf("zipfile: missing filename"); in zipfileBegin()
5842 pTab->base.zErrMsg = sqlite3_mprintf( in zipfileBegin()
5989 rc = zipfileDeflate(aIn, nIn, &pFree, &nCmp, &pTab->base.zErrMsg); in zipfileUpdate()
6004 rc = zipfileGetMode(apVal[3], bIsDir, &mode, &pTab->base.zErrMsg); in zipfileUpdate()
7484 rc = idxPrintfPrepareStmt(pExpert->db, &pCsr->pData, &pVtab->base.zErrMsg, in expertFilter()
9563 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db)); in dbdataFilter()
10961 char *zErrMsg = 0; in createSelftestTable() local
10997 ,0,0,&zErrMsg); in createSelftestTable()
10998 if( zErrMsg ){ in createSelftestTable()
10999 utf8_printf(stderr, "SELFTEST initialization failure: %s\n", zErrMsg); in createSelftestTable()
11000 sqlite3_free(zErrMsg); in createSelftestTable()
11096 char *zErrMsg = sqlite3_malloc64(nErrMsg); in save_err_msg() local
11097 if( zErrMsg ){ in save_err_msg()
11098 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg); in save_err_msg()
11100 return zErrMsg; in save_err_msg()
13540 char *zErrMsg = 0; in tryToCloneSchema() local
13555 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); in tryToCloneSchema()
13556 if( zErrMsg ){ in tryToCloneSchema()
13557 utf8_printf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql); in tryToCloneSchema()
13558 sqlite3_free(zErrMsg); in tryToCloneSchema()
13559 zErrMsg = 0; in tryToCloneSchema()
13582 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); in tryToCloneSchema()
13583 if( zErrMsg ){ in tryToCloneSchema()
13584 utf8_printf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql); in tryToCloneSchema()
13585 sqlite3_free(zErrMsg); in tryToCloneSchema()
13586 zErrMsg = 0; in tryToCloneSchema()
15918 char *zErrMsg = 0; in do_meta_command() local
15926 callback, &data, &zErrMsg); in do_meta_command()
15927 if( zErrMsg ){ in do_meta_command()
15928 utf8_printf(stderr,"Error: %s\n", zErrMsg); in do_meta_command()
15929 sqlite3_free(zErrMsg); in do_meta_command()
16288 char *zErrMsg = 0; in do_meta_command() local
16310 callback, &data, &zErrMsg in do_meta_command()
16326 callback, &data, &zErrMsg); in do_meta_command()
16329 shell_exec(&data, "SELECT * FROM sqlite_stat1", &zErrMsg); in do_meta_command()
16331 shell_exec(&data, "SELECT * FROM sqlite_stat4", &zErrMsg); in do_meta_command()
16827 char *zErrMsg = 0; in do_meta_command() local
16836 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg); in do_meta_command()
16838 utf8_printf(stderr, "Error: %s\n", zErrMsg); in do_meta_command()
16839 sqlite3_free(zErrMsg); in do_meta_command()
17362 char *zErrMsg = 0; in do_meta_command() local
17470 rc = sqlite3_exec(p->db, sSelect.z, callback, &data, &zErrMsg); in do_meta_command()
17474 if( zErrMsg ){ in do_meta_command()
17475 utf8_printf(stderr,"Error: %s\n", zErrMsg); in do_meta_command()
17476 sqlite3_free(zErrMsg); in do_meta_command()
17785 char *zErrMsg = 0; in do_meta_command() local
17788 rc = sqlite3_exec(p->db, zSql, captureOutputCallback, &str, &zErrMsg); in do_meta_command()
17793 if( rc || zErrMsg ){ in do_meta_command()
17796 utf8_printf(p->out, "%d: error-code-%d: %s\n", tno, rc, zErrMsg); in do_meta_command()
17797 sqlite3_free(zErrMsg); in do_meta_command()
18645 char *zErrMsg = 0; in runOneSqlLine() local
18651 rc = shell_exec(p, zSql, &zErrMsg); in runOneSqlLine()
18653 if( rc || zErrMsg ){ in runOneSqlLine()
18661 if( zErrMsg!=0 ){ in runOneSqlLine()
18662 utf8_printf(stderr, "%s %s\n", zPrefix, zErrMsg); in runOneSqlLine()
18663 sqlite3_free(zErrMsg); in runOneSqlLine()
18664 zErrMsg = 0; in runOneSqlLine()
19031 char *zErrMsg = 0; local
19431 rc = shell_exec(&data, z, &zErrMsg);
19432 if( zErrMsg!=0 ){
19433 utf8_printf(stderr,"Error: %s\n", zErrMsg);
19476 rc = shell_exec(&data, azCmd[i], &zErrMsg);
19477 if( zErrMsg!=0 ){
19478 utf8_printf(stderr,"Error: %s\n", zErrMsg);