Lines Matching defs:ShellState

19400 typedef struct ShellState ShellState;  typedef
19401 struct ShellState { struct
19402 sqlite3 *db; /* The database */
19403 u8 autoExplain; /* Automatically turn on .explain mode */
19404 u8 autoEQP; /* Run EXPLAIN QUERY PLAN prior to each SQL stmt */
19405 u8 autoEQPtest; /* autoEQP is in test mode */
19406 u8 autoEQPtrace; /* autoEQP is in trace mode */
19407 u8 scanstatsOn; /* True to display scan stats before each finalize */
19408 u8 openMode; /* SHELL_OPEN_NORMAL, _APPENDVFS, or _ZIPFILE */
19409 u8 doXdgOpen; /* Invoke start/open/xdg-open in output_reset() */
19410 u8 nEqpLevel; /* Depth of the EQP output graph */
19411 u8 eTraceType; /* SHELL_TRACE_* value for type of trace */
19412 u8 bSafeMode; /* True to prohibit unsafe operations */
19413 u8 bSafeModePersist; /* The long-term value of bSafeMode */
19414 u8 eRestoreState; /* See comments above doAutoDetectRestore() */
19415 ColModeOpts cmOpts; /* Option values affecting columnar mode output */
19416 unsigned statsOn; /* True to display memory stats before each finalize */
19417 unsigned mEqpLines; /* Mask of vertical lines in the EQP output graph */
19418 int inputNesting; /* Track nesting level of .read and other redirects */
19419 int outCount; /* Revert to stdout when reaching zero */
19420 int cnt; /* Number of records displayed so far */
19421 int lineno; /* Line number of last line read from in */
19422 int openFlags; /* Additional flags to open. (SQLITE_OPEN_NOFOLLOW) */
19423 FILE *in; /* Read commands from this stream */
19424 FILE *out; /* Write results here */
19425 FILE *traceOut; /* Output for sqlite3_trace() */
19426 int nErr; /* Number of errors seen */
19427 int mode; /* An output mode setting */
19428 int modePrior; /* Saved mode */
19429 int cMode; /* temporary output mode for the current query */
19430 int normalMode; /* Output mode before ".explain on" */
19431 int writableSchema; /* True if PRAGMA writable_schema=ON */
19432 int showHeader; /* True to show column names in List or Column mode */
19433 int nCheck; /* Number of ".check" commands run */
19434 unsigned nProgress; /* Number of progress callbacks encountered */
19435 unsigned mxProgress; /* Maximum progress callbacks before failing */
19436 unsigned flgProgress; /* Flags for the progress callback */
19437 unsigned shellFlgs; /* Various flags */
19438 unsigned priorShFlgs; /* Saved copy of flags */
19439 sqlite3_int64 szMax; /* --maxsize argument to .open */
19440 char *zDestTable; /* Name of destination table when MODE_Insert */
19441 char *zTempFile; /* Temporary file that might need deleting */
19442 char zTestcase[30]; /* Name of current test case */
19443 char colSeparator[20]; /* Column separator character for several modes */
19444 char rowSeparator[20]; /* Row separator character for MODE_Ascii */
19445 char colSepPrior[20]; /* Saved column separator */
19446 char rowSepPrior[20]; /* Saved row separator */
19447 int *colWidth; /* Requested width of each column in columnar modes */
19448 int *actualWidth; /* Actual width of each column */
19449 int nWidth; /* Number of slots in colWidth[] and actualWidth[] */
19450 char nullValue[20]; /* The text to print when a NULL comes back from
19452 char outfile[FILENAME_MAX]; /* Filename for *out */
19453 sqlite3_stmt *pStmt; /* Current statement if any. */
19454 FILE *pLog; /* Write log output here */
19455 struct AuxDb { /* Storage space for auxiliary database connections */
19481 static ShellState shellState; argument
24148 void (*xForEach)(ShellState*,sqlite3*,const char*) in tryToCloneSchema()