Lines Matching refs:zSchema
7213 SQLITE_API int sqlite3_txn_state(sqlite3*,const char *zSchema);
7363 ** const char *zSchema,
7877 int (*xIntegrity)(sqlite3_vtab *pVTab, const char *zSchema,
11111 const char *zSchema,
11160 const char *zSchema,
11278 const char *zSchema, /* Which DB to serialize. ex: "main", "temp", ... */
11344 const char *zSchema, /* Which DB to reopen with the deserialization */
54548 static MemFile *memdbFromDbSchema(sqlite3 *db, const char *zSchema){
54551 int rc = sqlite3_file_control(db, zSchema, SQLITE_FCNTL_FILE_POINTER, &p);
54566 const char *zSchema, /* Which database within the connection */
54587 if( zSchema==0 ) zSchema = db->aDb[0].zDbSName;
54588 p = memdbFromDbSchema(db, zSchema);
54589 iDb = sqlite3FindDbName(db, zSchema);
54607 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
54651 /* Convert zSchema to a MemDB and initialize its content.
54655 const char *zSchema, /* Which DB to reopen with the deserialization */
54676 if( zSchema==0 ) zSchema = db->aDb[0].zDbSName;
54677 iDb = sqlite3FindDbName(db, zSchema);
54683 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
54699 p = memdbFromDbSchema(db, zSchema);
101367 const char *zSchema;
101397 zSchema = LEGACY_SCHEMA_TABLE;
101405 db->aDb[iDb].zDbSName, zSchema, pOp->p4.z);
106920 const char *zSchema; /* tables_used.schema */
107018 pCur->zSchema = 0;
107047 pCur->zSchema = 0;
107095 pCur->zSchema = db->aDb[iDb].zDbSName;
107183 sqlite3_result_text(ctx, pCur->zSchema, -1, SQLITE_STATIC);
183947 ** transaction state over all attached databases if zSchema is null.
183949 SQLITE_API int sqlite3_txn_state(sqlite3 *db, const char *zSchema){
183959 if( zSchema ){
183960 nDb = iDb = sqlite3FindDbName(db, zSchema);
193091 const char *zSchema, /* Name of schema in which pVtab lives */
193106 p->bFts4 ? 4 : 3, zSchema, zTabname, sqlite3_errstr(rc));
193110 p->bFts4 ? 4 : 3, zSchema, zTabname);
217671 const char *zSchema, /* Schema in which the virtual table lives */
217679 UNUSED_PARAMETER(zSchema);
227879 const char *zSchema;
227881 zSchema = (const char*)sqlite3_value_text(argv[0]);
227882 pCsr->iDb = sqlite3FindDbName(db, zSchema);
228010 const char *zSchema = (const char*)sqlite3_value_text(argv[4]);
228011 iDb = sqlite3FindDbName(pTab->db, zSchema);
257410 const char *zSchema, /* Name of schema in which this table lives */
257426 zSchema, zTabname);
257431 zSchema, zTabname, sqlite3_errstr(rc));