Lines Matching refs:main
8 ** the canonical SQLite source tree. That main file contains "INCLUDE"
479 ** This is the name of our program. It is set in main(), used
485 ** Prompt strings. Initialized in main. Settable with
486 ** .prompt main continue
734 ** If isContinuation is zero, then the main prompt should be used.
921 zSchema ? zSchema : "main", zName);
6988 ** The sizes of the fixed-size part of each of the three main data
8314 ** in main-memory until the transaction is committed. */
9986 "SELECT * FROM main.%Q WHERE sample()", pVtab->pTab->zName
10041 ** in the main database of connection db. If successful, set (*ppOut) to
10078 db, "main", zTab, zCol, 0, &zColSeq, 0, 0, 0
10111 db, "main", zTab, zCol, 0, &zColSeq, 0, 0, 0
10625 if( sqlite3_stricmp(zDb, "main")==0 ){
10756 /* For each table in the main db schema:
12127 ** "main", "temp" or the name of an attached database) and set
12185 const char *zSchema = "main";
12447 ** handle (i.e. "main", "temp" or the name of an attached database).
12807 char *zDb; /* Name of input db ("main" etc.) */
13548 sqlite3_backup *pBackup = sqlite3_backup_init(db, "main", db2, "main");
15305 if( zDb==0 ){ zDb = "main"; }
16963 ** Generate an appropriate SELFTEST table in the main database.
18755 ".backup ?DB? FILE Backup DB (default \"main\") to FILE",
18802 " --schema SCHEMA Use SCHEMA instead of \"main\"",
18929 ".restore ?DB? FILE Restore content of DB (default \"main\") from FILE",
19585 rc = sqlite3_deserialize(p->db, "main", aData, nData, nData,
19592 sqlite3_file_control(p->db, "main", SQLITE_FCNTL_SIZE_LIMIT, &p->szMax);
20230 ** as possible out of the main database (which might be corrupt) and write it
20359 char *zDb = nArg>=2 ? azArg[1] : "main";
20403 zSchemaTab = sqlite3_mprintf("main.sqlite_schema");
20637 db, "main", zParent, zParentCol, 0, &zParentSeq, 0, 0, 0
20641 db, "main", zChild, zChildCol, 0, &zChildSeq, 0, 0, 0
20661 sqlite3 *db = pState->db; /* Database handle to query "main" db of */
20672 ** in the schema of the main database. The column values are:
21751 pState->db, "main", recoverSqlCb, (void*)pState
22106 if( zDb==0 ) zDb = "main";
22119 pBackup = sqlite3_backup_init(pDest, "main", p->db, zDb);
22786 char *zSchema = 0; /* within this schema (may default to "main") */
23102 sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 0, 1);
23158 rc = sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 1, tnum);
23161 sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->db, "main", 0, 0);
23886 zDb = "main";
23902 pBackup = sqlite3_backup_init(p->db, zDb, pSrc, "main");
24018 if( sqlite3_stricmp(zDb, "main")!=0 ){
24036 " 'table', name, name, name, 9e+99, 'main' FROM pragma_module_list",
24258 ** DB is normally "main".
24345 if( sqlite3_table_column_metadata(p->db,"main","selftest",0,0,0,0,0,0)
24679 if( sqlite3_stricmp(zDbName, "main")==0 ){
25183 const char *zDbName = nArg==2 ? azArg[1] : "main";
25200 sqlite3_file_control(p->db, "main", SQLITE_FCNTL_VFS_POINTER, &pCurrent);
25215 const char *zDbName = nArg==2 ? azArg[1] : "main";
25858 # define main fiddle_main
25862 int SQLITE_CDECL main(int argc, char **argv){
26477 ** "main" is assumed. Returns 0 if no db with the given name is
26483 sqlite3_file_control(globalDb, zDbName ? zDbName : "main",
26506 ** Returns the filename of the given db name, assuming "main" if
26511 ? sqlite3_db_filename(globalDb, zDbName ? zDbName : "main")
26544 ? sqlite3_file_control(shellState.db, "main",