Lines Matching defs:pzErrMsg

5016 ** ^If an error occurs and pzErrMsg is not 0, then the
5018 ** fill *pzErrMsg with error message text stored in memory
5032 char **pzErrMsg /* Put error message here if not 0 */
5066 **   const char **pzErrMsg,
5071 ** If the xEntryPoint routine encounters an error, it should make *pzErrMsg
5073 ** and return an appropriate [error code]. ^SQLite ensures that *pzErrMsg
5075 ** [sqlite3_free()] on *pzErrMsg after xEntryPoint() returns. ^If any
10755 char **pzErrMsg; /* Error message stored here */
59401 ** Write any error messages into *pzErrMsg. Return the result code.
59484 ** the result code. Write any error message text into *pzErrMsg.
67062 u.bu.initData.pzErrMsg = &p->zErrMsg;
86338 ** malloc() and make *pzErrMsg point to that message.
86350 char **pzErrMsg /* Write error messages here */
86444 if( rc!=SQLITE_OK && ALWAYS(rc==sqlite3_errcode(db)) && pzErrMsg ){
86446 *pzErrMsg = sqlite3Malloc(nErrMsg);
86447 if( *pzErrMsg ){
86448 memcpy(*pzErrMsg, sqlite3_errmsg(db), nErrMsg);
86453 }else if( pzErrMsg ){
86454 *pzErrMsg = 0;
87269 ** If an error occurs and pzErrMsg is not 0, then fill *pzErrMsg with
87277 char **pzErrMsg /* Put error message here if not 0 */
87286 if( pzErrMsg ) *pzErrMsg = 0;
87295 if( pzErrMsg ){
87296 *pzErrMsg = sqlite3_mprintf("not authorized");
87307 if( pzErrMsg ){
87308 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
87320 if( pzErrMsg ){
87321 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
87331 if( pzErrMsg ){
87332 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
87357 char **pzErrMsg /* Put error message here if not 0 */
87361 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
89092 sqlite3SetString(pData->pzErrMsg, db,
89095 *pData->pzErrMsg = sqlite3MAppendf(db, *pData->pzErrMsg,
89096 "%s - %s", *pData->pzErrMsg, zExtra);
89196 static int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg){
89259 initData.pzErrMsg = pzErrMsg;
89287 sqlite3SetString(pzErrMsg, db, "%s", sqlite3ErrStr(rc));
89331 sqlite3SetString(pzErrMsg, db, "attached databases must use the same"
89360 sqlite3SetString(pzErrMsg, db, "unsupported file format");
89439 ** error occurs, write an error message into *pzErrMsg.
89445 SQLITE_PRIVATE int sqlite3Init(sqlite3 *db, char **pzErrMsg){
89454 rc = sqlite3InitOne(db, i, pzErrMsg);
89467 rc = sqlite3InitOne(db, 1, pzErrMsg);
94511 char **pzErrMsg /* Write error messages here */
94519 if( pzErrMsg ) *pzErrMsg = 0;
94532 rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg);
94538 if( pzErrMsg ){
94539 sqlite3_free(*pzErrMsg);
94540 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
96388 ** text of the error message in *pzErrMsg. Return the result code.
96390 static int vacuumFinalize(sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg){
96394 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
96402 static int execSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
96409 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
96414 return vacuumFinalize(db, pStmt, pzErrMsg);
96421 static int execExecSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
96429 rc = execSql(db, pzErrMsg, (char*)sqlite3_column_text(pStmt, 0));
96431 vacuumFinalize(db, pStmt, pzErrMsg);
96436 return vacuumFinalize(db, pStmt, pzErrMsg);
96460 SQLITE_PRIVATE int sqlite3RunVacuum(char **pzErrMsg, sqlite3 *db){
96475 sqlite3SetString(pzErrMsg, db, "cannot VACUUM from within a transaction");
96479 sqlite3SetString(pzErrMsg, db,"cannot VACUUM - SQL statements in progress");
96517 rc = execSql(db, pzErrMsg, zSql);
96557 rc = execSql(db, pzErrMsg, "PRAGMA vacuum_db.synchronous=OFF");
96568 rc = execSql(db, pzErrMsg, "BEGIN EXCLUSIVE;");
96574 rc = execExecSql(db, pzErrMsg,
96580 rc = execExecSql(db, pzErrMsg,
96584 rc = execExecSql(db, pzErrMsg,
96593 rc = execExecSql(db, pzErrMsg,
96604 rc = execExecSql(db, pzErrMsg,
96609 rc = execExecSql(db, pzErrMsg,
96622 rc = execSql(db, pzErrMsg,
106728 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
106731 SQLITE_PRIVATE int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){
106749 assert( pzErrMsg!=0 );
106782 sqlite3DbFree(db, *pzErrMsg);
106783 *pzErrMsg = sqlite3MPrintf(db, "unrecognized token: \"%T\"",
106823 assert( pzErrMsg!=0 );
106825 *pzErrMsg = pParse->zErrMsg;
106826 sqlite3_log(pParse->rc, "%s", *pzErrMsg);
116747 char **pzErrMsg,
127487 char **pzErrMsg,
127988 char **pzErrMsg,