Sqlite3 3.50.2
Light weight SQL DB
Loading...
Searching...
No Matches
ShellState Struct Reference
Collaboration diagram for ShellState:

Data Structures

struct  AuxDb

Data Fields

sqlite3db
u8 autoExplain
u8 autoEQP
u8 autoEQPtest
u8 autoEQPtrace
u8 scanstatsOn
u8 openMode
u8 doXdgOpen
u8 nEqpLevel
u8 eTraceType
u8 bSafeMode
u8 bSafeModePersist
u8 eRestoreState
u8 crlfMode
u8 eEscMode
ColModeOpts cmOpts
unsigned statsOn
unsigned mEqpLines
int inputNesting
int outCount
int cnt
int lineno
int openFlags
FILE * in
FILE * out
FILE * traceOut
int nErr
int mode
int modePrior
int cMode
int normalMode
int writableSchema
int showHeader
int nCheck
unsigned nProgress
unsigned mxProgress
unsigned flgProgress
unsigned shellFlgs
unsigned priorShFlgs
sqlite3_int64 szMax
char * zDestTable
char * zTempFile
char zTestcase [30]
char colSeparator [20]
char rowSeparator [20]
char colSepPrior [20]
char rowSepPrior [20]
int * colWidth
int * actualWidth
int nWidth
char nullValue [20]
char outfile [FILENAME_MAX]
sqlite3_stmtpStmt
FILE * pLog
struct ShellState::AuxDb aAuxDb [5]
struct ShellState::AuxDbpAuxDb [5]
int * aiIndent
int nIndent
int iIndent
char * zNonce
EQPGraph sGraph
ExpertInfo expert

Detailed Description

Definition at line 21669 of file shell.c.

Field Documentation

◆ aAuxDb

struct ShellState::AuxDb ShellState::aAuxDb[5]

◆ actualWidth

int* ShellState::actualWidth

◆ aiIndent

int* ShellState::aiIndent

Definition at line 21735 of file shell.c.

Referenced by explain_data_delete(), explain_data_prepare(), and shell_callback().

◆ autoEQP

u8 ShellState::autoEQP

Definition at line 21672 of file shell.c.

Referenced by do_meta_command(), main(), and shell_exec().

◆ autoEQPtest

u8 ShellState::autoEQPtest

Definition at line 21673 of file shell.c.

Referenced by do_meta_command(), and eqp_append().

◆ autoEQPtrace

u8 ShellState::autoEQPtrace

Definition at line 21674 of file shell.c.

Referenced by do_meta_command().

◆ autoExplain

u8 ShellState::autoExplain

Definition at line 21671 of file shell.c.

Referenced by do_meta_command(), main_init(), and shell_exec().

◆ bSafeMode

u8 ShellState::bSafeMode

◆ bSafeModePersist

u8 ShellState::bSafeModePersist

Definition at line 21681 of file shell.c.

Referenced by do_meta_command(), main(), open_db(), and process_input().

◆ cMode

◆ cmOpts

ColModeOpts ShellState::cmOpts

Definition at line 21685 of file shell.c.

Referenced by do_meta_command(), and exec_prepared_stmt_columnar().

◆ cnt

int ShellState::cnt

Definition at line 21690 of file shell.c.

Referenced by shell_callback(), and shell_exec().

◆ colSeparator

char ShellState::colSeparator[20]

Definition at line 21713 of file shell.c.

Referenced by do_meta_command(), main(), main_init(), output_csv(), outputModePush(), and shell_callback().

◆ colSepPrior

char ShellState::colSepPrior[20]

Definition at line 21715 of file shell.c.

Referenced by outputModePush().

◆ colWidth

int* ShellState::colWidth

Definition at line 21717 of file shell.c.

Referenced by do_meta_command(), exec_prepared_stmt_columnar(), and main().

◆ crlfMode

u8 ShellState::crlfMode

Definition at line 21683 of file shell.c.

Referenced by do_meta_command(), main_init(), and setCrlfMode().

◆ db

◆ doXdgOpen

u8 ShellState::doXdgOpen

Definition at line 21677 of file shell.c.

Referenced by clearTempFile(), do_meta_command(), main(), and output_reset().

◆ eEscMode

◆ eRestoreState

u8 ShellState::eRestoreState

Definition at line 21682 of file shell.c.

Referenced by doAutoDetectRestore().

◆ eTraceType

u8 ShellState::eTraceType

Definition at line 21679 of file shell.c.

Referenced by do_meta_command(), and sql_trace_callback().

◆ expert

ExpertInfo ShellState::expert

◆ flgProgress

unsigned ShellState::flgProgress

Definition at line 21706 of file shell.c.

Referenced by do_meta_command(), progress_handler(), and runOneSqlLine().

◆ iIndent

int ShellState::iIndent

Definition at line 21737 of file shell.c.

Referenced by explain_data_delete(), explain_data_prepare(), and shell_callback().

◆ in

FILE* ShellState::in

Definition at line 21693 of file shell.c.

Referenced by do_meta_command(), main(), process_input(), process_sqliterc(), and readHexDb().

◆ inputNesting

int ShellState::inputNesting

Definition at line 21688 of file shell.c.

Referenced by process_input().

◆ lineno

int ShellState::lineno

◆ mEqpLines

unsigned ShellState::mEqpLines

Definition at line 21687 of file shell.c.

◆ mode

int ShellState::mode

◆ modePrior

int ShellState::modePrior

Definition at line 21698 of file shell.c.

Referenced by outputModePush().

◆ mxProgress

unsigned ShellState::mxProgress

Definition at line 21705 of file shell.c.

Referenced by do_meta_command(), and progress_handler().

◆ nCheck

int ShellState::nCheck

Definition at line 21703 of file shell.c.

Referenced by do_meta_command().

◆ nEqpLevel

u8 ShellState::nEqpLevel

Definition at line 21678 of file shell.c.

◆ nErr

int ShellState::nErr

Definition at line 21696 of file shell.c.

Referenced by do_meta_command(), dump_callback(), and run_table_dump_query().

◆ nIndent

int ShellState::nIndent

Definition at line 21736 of file shell.c.

Referenced by explain_data_delete(), explain_data_prepare(), and shell_callback().

◆ normalMode

int ShellState::normalMode

Definition at line 21700 of file shell.c.

Referenced by do_meta_command(), and main_init().

◆ nProgress

unsigned ShellState::nProgress

Definition at line 21704 of file shell.c.

Referenced by do_meta_command(), progress_handler(), and runOneSqlLine().

◆ nullValue

char ShellState::nullValue[20]

◆ nWidth

int ShellState::nWidth

Definition at line 21719 of file shell.c.

Referenced by do_meta_command(), and exec_prepared_stmt_columnar().

◆ openFlags

int ShellState::openFlags

Definition at line 21692 of file shell.c.

Referenced by do_meta_command(), main(), and open_db().

◆ openMode

u8 ShellState::openMode

Definition at line 21676 of file shell.c.

Referenced by do_meta_command(), main(), and open_db().

◆ out

◆ outCount

int ShellState::outCount

Definition at line 21689 of file shell.c.

Referenced by do_meta_command(), and process_input().

◆ outfile

char ShellState::outfile[FILENAME_MAX]

Definition at line 21722 of file shell.c.

Referenced by do_meta_command(), and output_reset().

◆ pAuxDb

struct ShellState::AuxDb * ShellState::pAuxDb[5]

◆ pLog

FILE* ShellState::pLog

Definition at line 21724 of file shell.c.

Referenced by do_meta_command(), shellLog(), and shellModuleSchema().

◆ priorShFlgs

unsigned ShellState::priorShFlgs

Definition at line 21708 of file shell.c.

Referenced by outputModePush().

◆ pStmt

sqlite3_stmt* ShellState::pStmt

Definition at line 21723 of file shell.c.

Referenced by display_stats(), shell_callback(), and shell_exec().

◆ rowSeparator

char ShellState::rowSeparator[20]

Definition at line 21714 of file shell.c.

Referenced by do_meta_command(), main(), main_init(), and shell_callback().

◆ rowSepPrior

char ShellState::rowSepPrior[20]

Definition at line 21716 of file shell.c.

◆ scanstatsOn

u8 ShellState::scanstatsOn

Definition at line 21675 of file shell.c.

Referenced by do_meta_command(), main(), open_db(), and shell_exec().

◆ sGraph

EQPGraph ShellState::sGraph

Definition at line 21739 of file shell.c.

Referenced by eqp_append(), eqp_next_row(), eqp_render(), eqp_render_level(), and eqp_reset().

◆ shellFlgs

unsigned ShellState::shellFlgs

◆ showHeader

int ShellState::showHeader

◆ statsOn

unsigned ShellState::statsOn

Definition at line 21686 of file shell.c.

Referenced by display_stats(), do_meta_command(), main(), and shell_exec().

◆ szMax

sqlite3_int64 ShellState::szMax

Definition at line 21709 of file shell.c.

Referenced by do_meta_command(), main(), and open_db().

◆ traceOut

FILE* ShellState::traceOut

Definition at line 21695 of file shell.c.

Referenced by do_meta_command(), and sql_trace_callback().

◆ writableSchema

int ShellState::writableSchema

Definition at line 21701 of file shell.c.

Referenced by do_meta_command(), and dump_callback().

◆ zDestTable

char* ShellState::zDestTable

Definition at line 21710 of file shell.c.

Referenced by do_meta_command(), dump_callback(), set_table_name(), and shell_callback().

◆ zNonce

char* ShellState::zNonce

Definition at line 21738 of file shell.c.

Referenced by do_meta_command(), and main().

◆ zTempFile

char* ShellState::zTempFile

Definition at line 21711 of file shell.c.

Referenced by clearTempFile(), do_meta_command(), newTempFile(), and output_reset().

◆ zTestcase

char ShellState::zTestcase[30]

Definition at line 21712 of file shell.c.

Referenced by do_meta_command().


The documentation for this struct was generated from the following file: