Lines Matching defs:pzErrMsg
7489 ** ^If an error occurs and pzErrMsg is not 0, then the
7491 ** fill *pzErrMsg with error message text stored in memory
7514 char **pzErrMsg /* Put error message here if not 0 */
7560 ** const char **pzErrMsg,
7565 ** If the xEntryPoint routine encounters an error, it should make *pzErrMsg
7567 ** and return an appropriate [error code]. ^SQLite ensures that *pzErrMsg
7569 ** [sqlite3_free()] on *pzErrMsg after xEntryPoint() returns. ^If any
11720 ** error code. In this case, if argument pzErrMsg is not NULL, *pzErrMsg
11729 char **pzErrMsg
20145 char **pzErrMsg; /* Error message stored here */
88380 ** Write any error messages into *pzErrMsg. Return the result code.
88478 ** the result code. Write any error message text into *pzErrMsg.
100136 initData.pzErrMsg = &p->zErrMsg;
136292 ** malloc() and make *pzErrMsg point to that message.
136304 char **pzErrMsg /* Write error messages here */
136397 if( rc!=SQLITE_OK && pzErrMsg ){
136398 *pzErrMsg = sqlite3DbStrDup(0, sqlite3_errmsg(db));
136399 if( *pzErrMsg==0 ){
136403 }else if( pzErrMsg ){
136404 *pzErrMsg = 0;
136810 char **pzErrMsg, /* Used to set error string on failure. */
137675 ** If an error occurs and pzErrMsg is not 0, then fill *pzErrMsg with
137683 char **pzErrMsg /* Put error message here if not 0 */
137708 if( pzErrMsg ) *pzErrMsg = 0;
137718 if( pzErrMsg ){
137719 *pzErrMsg = sqlite3_mprintf("not authorized");
137787 if( pzErrMsg ){
137789 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
137805 if( pzErrMsg ){
137806 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
137828 if( pzErrMsg ){
137830 *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg);
137844 char **pzErrMsg /* Put error message here if not 0 */
137848 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
141833 }else if( pData->pzErrMsg[0]!=0 ){
141841 *pData->pzErrMsg = sqlite3MPrintf(db,
141854 *pData->pzErrMsg = z;
142001 SQLITE_PRIVATE int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg, u32 mFlags){
142038 initData.pzErrMsg = pzErrMsg;
142066 sqlite3SetString(pzErrMsg, db, sqlite3ErrStr(rc));
142123 sqlite3SetString(pzErrMsg, db, "attached databases must use the same"
142154 sqlite3SetString(pzErrMsg, db, "unsupported file format");
142242 ** error occurs, write an error message into *pzErrMsg.
142247 SQLITE_PRIVATE int sqlite3Init(sqlite3 *db, char **pzErrMsg){
142258 rc = sqlite3InitOne(db, 0, pzErrMsg, 0);
142265 rc = sqlite3InitOne(db, i, pzErrMsg, 0);
151633 char **pzErrMsg /* Write error messages here */
151644 if( pzErrMsg ) *pzErrMsg = 0;
151657 rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg);
151663 if( pzErrMsg ){
151664 sqlite3_free(*pzErrMsg);
151665 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
155008 static int execSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
155026 rc = execSql(db, pzErrMsg, zSubSql);
155033 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
155038 static int execSqlF(sqlite3 *db, char **pzErrMsg, const char *zSql, ...){
155046 rc = execSql(db, pzErrMsg, z);
155120 char **pzErrMsg, /* Write error message here */
155143 sqlite3SetString(pzErrMsg, db, "cannot VACUUM from within a transaction");
155147 sqlite3SetString(pzErrMsg, db,"cannot VACUUM - SQL statements in progress");
155153 sqlite3SetString(pzErrMsg, db, "non-text filename");
155196 rc = execSqlF(db, pzErrMsg, "ATTACH %Q AS vacuum_db", zOut);
155208 sqlite3SetString(pzErrMsg, db, "output file already exists");
155228 rc = execSql(db, pzErrMsg, "BEGIN");
155258 rc = execSqlF(db, pzErrMsg,
155265 rc = execSqlF(db, pzErrMsg,
155277 rc = execSqlF(db, pzErrMsg,
155293 rc = execSqlF(db, pzErrMsg,
182748 ** If an error occurs, then an SQLite error code is returned and *pzErrMsg
182759 char **pzErrMsg /* OUT: Error message (if rc!=SQLITE_OK) */
182768 assert( *pzErrMsg==0 );
182810 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
182855 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
182942 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
182947 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
182973 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
192331 char **pzErrMsg,
216614 char **pzErrMsg,
217205 char **pzErrMsg,
227056 char **pzErrMsg
227066 if( pzErrMsg ) *pzErrMsg = 0;
227105 if( pzErrMsg ){
227106 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
252687 char **pzErrMsg,
252691 (void)pzErrMsg; /* Unused parameter */
252700 char **pzErrMsg,
252704 (void)pzErrMsg; /* Unused parameter */
252770 char **pzErrMsg /* OUT: Error message (if any) */
252870 if( rc!=SQLITE_OK && pzErrMsg ){
252871 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
253772 char **pzErrMsg
253779 rc = fts5StorageGetStmt(p, eStmt, pp, pzErrMsg);
257663 char **pzErrMsg,