Home | History | Annotate | Download | only in dist

Lines Matching defs:pzErrMsg

2303   char **pzErrmsg       /* Error msg written here */
5294 ** ^If an error occurs and pzErrMsg is not 0, then the
5296 ** fill *pzErrMsg with error message text stored in memory
5310 char **pzErrMsg /* Put error message here if not 0 */
5344 **   const char **pzErrMsg,
5349 ** If the xEntryPoint routine encounters an error, it should make *pzErrMsg
5351 ** and return an appropriate [error code]. ^SQLite ensures that *pzErrMsg
5353 ** [sqlite3_free()] on *pzErrMsg after xEntryPoint() returns. ^If any
12170 char **pzErrMsg; /* Error message stored here */
64762 ** Write any error messages into *pzErrMsg. Return the result code.
64849 ** the result code. Write any error message text into *pzErrMsg.
73136 initData.pzErrMsg = &p->zErrMsg;
96848 ** malloc() and make *pzErrMsg point to that message.
96860 char **pzErrMsg /* Write error messages here */
96953 if( rc!=SQLITE_OK && ALWAYS(rc==sqlite3_errcode(db)) && pzErrMsg ){
96955 *pzErrMsg = sqlite3Malloc(nErrMsg);
96956 if( *pzErrMsg ){
96957 memcpy(*pzErrMsg, sqlite3_errmsg(db), nErrMsg);
96962 }else if( pzErrMsg ){
96963 *pzErrMsg = 0;
97865 ** If an error occurs and pzErrMsg is not 0, then fill *pzErrMsg with
97873 char **pzErrMsg /* Put error message here if not 0 */
97897 if( pzErrMsg ) *pzErrMsg = 0;
97906 if( pzErrMsg ){
97907 *pzErrMsg = sqlite3_mprintf("not authorized");
97924 if( pzErrMsg ){
97925 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
97971 if( pzErrMsg ){
97973 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
97986 if( pzErrMsg ){
97987 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
98012 char **pzErrMsg /* Put error message here if not 0 */
98016 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
100612 sqlite3SetString(pData->pzErrMsg, db,
100615 *pData->pzErrMsg = sqlite3MAppendf(db, *pData->pzErrMsg,
100616 "%s - %s", *pData->pzErrMsg, zExtra);
100716 static int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg){
100781 initData.pzErrMsg = pzErrMsg;
100809 sqlite3SetString(pzErrMsg, db, "%s", sqlite3ErrStr(rc));
100856 sqlite3SetString(pzErrMsg, db, "attached databases must use the same"
100889 sqlite3SetString(pzErrMsg, db, "unsupported file format");
100968 ** error occurs, write an error message into *pzErrMsg.
100974 SQLITE_PRIVATE int sqlite3Init(sqlite3 *db, char **pzErrMsg){
100983 rc = sqlite3InitOne(db, i, pzErrMsg);
100996 rc = sqlite3InitOne(db, 1, pzErrMsg);
107003 char **pzErrMsg /* Write error messages here */
107011 if( pzErrMsg ) *pzErrMsg = 0;
107024 rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg);
107030 if( pzErrMsg ){
107031 sqlite3_free(*pzErrMsg);
107032 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
109002 ** text of the error message in *pzErrMsg. Return the result code.
109004 static int vacuumFinalize(sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg){
109008 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
109016 static int execSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
109023 sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db));
109028 return vacuumFinalize(db, pStmt, pzErrMsg);
109035 static int execExecSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
109043 rc = execSql(db, pzErrMsg, (char*)sqlite3_column_text(pStmt, 0));
109045 vacuumFinalize(db, pStmt, pzErrMsg);
109050 return vacuumFinalize(db, pStmt, pzErrMsg);
109095 SQLITE_PRIVATE int sqlite3RunVacuum(char **pzErrMsg, sqlite3 *db){
109110 sqlite3SetString(pzErrMsg, db, "cannot VACUUM from within a transaction");
109114 sqlite3SetString(pzErrMsg, db,"cannot VACUUM - SQL statements in progress");
109152 rc = execSql(db, pzErrMsg, zSql);
109179 rc = execSql(db, pzErrMsg, "PRAGMA vacuum_db.synchronous=OFF");
109186 rc = execSql(db, pzErrMsg, "BEGIN;");
109213 rc = execExecSql(db, pzErrMsg,
109219 rc = execExecSql(db, pzErrMsg,
109223 rc = execExecSql(db, pzErrMsg,
109232 rc = execExecSql(db, pzErrMsg,
109243 rc = execExecSql(db, pzErrMsg,
109248 rc = execExecSql(db, pzErrMsg,
109261 rc = execSql(db, pzErrMsg,
121665 ** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that
121668 SQLITE_PRIVATE int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){
121686 assert( pzErrMsg!=0 );
121718 sqlite3DbFree(db, *pzErrMsg);
121719 *pzErrMsg = sqlite3MPrintf(db, "unrecognized token: \"%T\"",
121759 assert( pzErrMsg!=0 );
121761 *pzErrMsg = pParse->zErrMsg;
121762 sqlite3_log(pParse->rc, "%s", *pzErrMsg);
124367 ** If an error occurs, then an SQLite error code is returned and *pzErrMsg
124378 char **pzErrMsg /* OUT: Error message (if rc!=SQLITE_OK) */
124387 assert( *pzErrMsg==0 );
124413 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
124539 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
124544 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
124567 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
132656 char **pzErrMsg,
148137 char **pzErrMsg,
148642 char **pzErrMsg,