Lines Matching refs:pState
3742 ShellState *pState, argument
3746 assert( pState->expert.pExpert );
3748 return sqlite3_expert_sql(pState->expert.pExpert, zSql, pzErr);
3762 ShellState *pState, argument
3767 sqlite3expert *p = pState->expert.pExpert;
3771 FILE *out = pState->out;
3772 int bVerbose = pState->expert.bVerbose;
3799 pState->expert.pExpert = 0;
3807 ShellState *pState, /* Current shell tool state */ argument
3816 assert( pState->expert.pExpert==0 );
3817 memset(&pState->expert, 0, sizeof(ExpertInfo));
3825 pState->expert.bVerbose = 1;
3846 pState->expert.pExpert = sqlite3_expert_new(pState->db, &zErr);
3847 if( pState->expert.pExpert==0 ){
3852 pState->expert.pExpert, EXPERT_CONFIG_SAMPLE, iSample
6253 ShellState *pState, /* Current shell tool state */ argument
6257 sqlite3 *db = pState->db; /* Database handle to query "main" db of */
6258 FILE *out = pState->out; /* Stream to write non-error output to */
6429 ShellState *pState, /* Current shell tool state */ argument
6436 return lintFkeyIndexes(pState, azArg, nArg);
7179 ShellState *pState, /* Current shell tool state */ argument
7191 cmd.p = pState;
7192 cmd.db = pState->db;
7196 eDbType = pState->openMode;
7218 utf8_printf(pState->out, "-- open database '%s'%s\n", cmd.zFile,
7260 arUsage(pState->out);
7278 if( cmd.db!=pState->db ){
7296 ShellState *pState = (ShellState*)pCtx; local
7297 utf8_printf(pState->out, "%s;\n", zSql);
7304 ** on stream pState->out.
7306 static int recoverDatabaseCmd(ShellState *pState, int nArg, char **azArg){ argument
7341 showHelp(pState->out, azArg[0]);
7347 pState->db, "main", recoverSqlCb, (void*)pState