Lines Matching defs:pParse
87 ** Write an error message into pParse->zErrMsg that explains that the
90 static void sqliteAuthBadReturnCode(Parse *pParse, int rc){
91 sqliteErrorMsg(pParse, "illegal return value (%d) from the "
94 pParse->rc = SQLITE_MISUSE;
107 Parse *pParse, /* The parser context */
111 sqlite *db = pParse->db;
130 pStack = pParse->trigStack;
148 pParse->zAuthContext);
153 sqliteErrorMsg(pParse, "access to %s.%s.%s is prohibited",
156 sqliteErrorMsg(pParse, "access to %s.%s is prohibited", pTab->zName,zCol);
158 pParse->rc = SQLITE_AUTH;
160 sqliteAuthBadReturnCode(pParse, rc);
167 ** is returned, then the error count and error message in pParse are
171 Parse *pParse,
177 sqlite *db = pParse->db;
183 rc = db->xAuth(db->pAuthArg, code, zArg1, zArg2, zArg3, pParse->zAuthContext);
185 sqliteErrorMsg(pParse, "not authorized");
186 pParse->rc = SQLITE_AUTH;
189 sqliteAuthBadReturnCode(pParse, rc);
197 ** popped. Or if pParse==0, this routine is a no-op.
200 Parse *pParse,
204 pContext->pParse = pParse;
205 if( pParse ){
206 pContext->zAuthContext = pParse->zAuthContext;
207 pParse->zAuthContext = zContext;
216 if( pContext->pParse ){
217 pContext->pParse->zAuthContext = pContext->zAuthContext;
218 pContext->pParse = 0;