Lines Matching defs:pzErrMsg
5386 ** ^If an error occurs and pzErrMsg is not 0, then the
5388 ** fill *pzErrMsg with error message text stored in memory
5402 char **pzErrMsg /* Put error message here if not 0 */
5436 ** const char **pzErrMsg,
5441 ** If the xEntryPoint routine encounters an error, it should make *pzErrMsg
5443 ** and return an appropriate [error code]. ^SQLite ensures that *pzErrMsg
5445 ** [sqlite3_free()] on *pzErrMsg after xEntryPoint() returns. ^If any
11325 char **pzErrMsg; /* Error message stored here */
61839 ** Write any error messages into *pzErrMsg. Return the result code.
61913 ** the result code. Write any error message text into *pzErrMsg.
69775 u.by.initData.pzErrMsg = &p->zErrMsg;
90829 ** malloc() and make *pzErrMsg point to that message.
90841 char **pzErrMsg /* Write error messages here */
90935 if( rc!=SQLITE_OK && ALWAYS(rc==sqlite3_errcode(db)) && pzErrMsg ){
90937 *pzErrMsg = sqlite3Malloc(nErrMsg);
90938 if( *pzErrMsg ){
90939 memcpy(*pzErrMsg, sqlite3_errmsg(db), nErrMsg);
90944 }else if( pzErrMsg ){
90945 *pzErrMsg = 0;
91794 ** If an error occurs and pzErrMsg is not 0, then fill *pzErrMsg with
91802 char **pzErrMsg /* Put error message here if not 0 */
91811 if( pzErrMsg ) *pzErrMsg = 0;
91820 if( pzErrMsg ){
91821 *pzErrMsg = sqlite3_mprintf("not authorized");
91832 if( pzErrMsg ){
91833 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
91845 if( pzErrMsg ){
91847 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
91857 if( pzErrMsg ){
91858 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
91883 char **pzErrMsg /* Put error message here if not 0 */
91887 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
93667 sqlite3SetString(pData->pzErrMsg, db,
93670 *pData->pzErrMsg = sqlite3MAppendf(db, *pData->pzErrMsg,
93671 "%s - %s", *pData->pzErrMsg, zExtra);
93771 static int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg){
93834 initData.pzErrMsg = pzErrMsg;
93862 sqlite3SetString(pzErrMsg, db, "%s", sqlite3ErrStr(rc));
93906 sqlite3SetString(pzErrMsg, db, "attached databases must use the same"
93939 sqlite3SetString(pzErrMsg, db, "unsupported file format");
94018 ** error occurs, write an error message into *pzErrMsg.
94024 SQLITE_PRIVATE int sqlite3Init(sqlite3 *db, char **pzErrMsg){
94033 rc = sqlite3InitOne(db, i, pzErrMsg);
94046 rc = sqlite3InitOne(db, 1, pzErrMsg);
99239 char **pzErrMsg /* Write error messages here */
99247 if( pzErrMsg ) *pzErrMsg = 0;
99260 rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg);
99266 if( pzErrMsg ){
99267 sqlite3_free(*pzErrMsg);
99268 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
101137 ** text of the error message in *pzErrMsg. Return the result code.
101139 static int vacuumFinalize(sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg){
101143 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
101151 static int execSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
101158 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
101163 return vacuumFinalize(db, pStmt, pzErrMsg);
101170 static int execExecSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
101178 rc = execSql(db, pzErrMsg, (char*)sqlite3_column_text(pStmt, 0));
101180 vacuumFinalize(db, pStmt, pzErrMsg);
101185 return vacuumFinalize(db, pStmt, pzErrMsg);
101209 SQLITE_PRIVATE int sqlite3RunVacuum(char **pzErrMsg, sqlite3 *db){
101224 sqlite3SetString(pzErrMsg, db, "cannot VACUUM from within a transaction");
101228 sqlite3SetString(pzErrMsg, db,"cannot VACUUM - SQL statements in progress");
101266 rc = execSql(db, pzErrMsg, zSql);
101293 rc = execSql(db, pzErrMsg, "PRAGMA vacuum_db.synchronous=OFF");
101300 rc = execSql(db, pzErrMsg, "BEGIN;");
101327 rc = execExecSql(db, pzErrMsg,
101333 rc = execExecSql(db, pzErrMsg,
101337 rc = execExecSql(db, pzErrMsg,
101346 rc = execExecSql(db, pzErrMsg,
101357 rc = execExecSql(db, pzErrMsg,
101362 rc = execExecSql(db, pzErrMsg,
101375 rc = execSql(db, pzErrMsg,
111919 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
111922 SQLITE_PRIVATE int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){
111940 assert( pzErrMsg!=0 );
111972 sqlite3DbFree(db, *pzErrMsg);
111973 *pzErrMsg = sqlite3MPrintf(db, "unrecognized token: \"%T\"",
112013 assert( pzErrMsg!=0 );
112015 *pzErrMsg = pParse->zErrMsg;
112016 sqlite3_log(pParse->rc, "%s", *pzErrMsg);
114301 ** If an error occurs, then an SQLite error code is returned and *pzErrMsg
114312 char **pzErrMsg /* OUT: Error message (if rc!=SQLITE_OK) */
114321 assert( *pzErrMsg==0 );
114346 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
114471 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
114476 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
114498 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
121800 char **pzErrMsg,
133390 char **pzErrMsg,
133892 char **pzErrMsg,