Home | History | Annotate | Download | only in dist

Lines Matching refs:zSchema

20436 ** Return true if nul-terminated string zSchema ends in "()". Or false
20439 static int dbdataIsFunction(const char *zSchema){
20440 size_t n = strlen(zSchema);
20441 if( n>2 && zSchema[n-2]=='(' && zSchema[n-1]==')' ){
20448 ** Determine the size in pages of database zSchema (where zSchema is
20453 static int dbdataDbsize(DbdataCursor *pCsr, const char *zSchema){
20460 if( (nFunc = dbdataIsFunction(zSchema))>0 ){
20461 zSql = sqlite3_mprintf("SELECT %.*s(0)", nFunc, zSchema);
20463 zSql = sqlite3_mprintf("PRAGMA %Q.page_count", zSchema);
20506 const char *zSchema = "main";
20513 zSchema = (const char*)sqlite3_value_text(argv[0]);
20514 if( zSchema==0 ) zSchema = "";
20520 rc = dbdataDbsize(pCsr, zSchema);
20528 }else if( (nFunc = dbdataIsFunction(zSchema))>0 ){
20529 char *zSql = sqlite3_mprintf("SELECT %.*s(?2)", nFunc, zSchema);
20544 rc = sqlite3_bind_text(pCsr->pStmt, 1, zSchema, -1, SQLITE_TRANSIENT);
24506 ** of the view, virtual table, or table valued function zSchema.zName.
24513 const char *zSchema, /* Schema of the database holding the vtab */
24524 zSchema ? zSchema : "main", zName);
24529 if( zSchema ){
24530 cQuote = quoteChar(zSchema);
24531 if( cQuote && sqlite3_stricmp(zSchema,"temp")==0 ) cQuote = 0;
24532 appendText(&s, zSchema, cQuote);
24628 const char *zSchema = (const char*)sqlite3_value_text(apVal[1]);
24638 if( zSchema ){
24639 char cQuote = quoteChar(zSchema);
24640 if( cQuote && sqlite3_stricmp(zSchema,"temp")!=0 ){
24641 z = sqlite3_mprintf("%.*s \"%w\".%s", n+7, zIn, zSchema, zIn+n+8);
24643 z = sqlite3_mprintf("%.*s %s.%s", n+7, zIn, zSchema, zIn+n+8);
24648 && (zFake = shellFakeSchema(db, zSchema, zName))!=0
30948 char *zSchema = 0; /* Schema of zTable */
30986 zSchema = azArg[++i];
31132 if( sqlite3_table_column_metadata(p->db, zSchema, zTable,0,0,0,0,0,0)
31135 zSchema ? zSchema : "main", zTable)
31142 zSchema ? zSchema : "main", zTable);
31182 zTable, zSchema);
31206 + (zSchema ? strlen(zSchema)*2 + 2: 0) /* Quoted schema name */
31214 if( zSchema ){
31216 zSchema, zTable);
32716 const char *zSchema = (const char *)sqlite3_column_text(pStmt,1);
32718 if( zSchema==0 || zFile==0 ) continue;
32721 azName[nName*2] = strdup(zSchema);
33025 const char *zSchema = 0;
33034 zSchema = azArg[2];
33081 sqlite3_file_control(p->db, zSchema, SQLITE_FCNTL_SIZE_LIMIT, &iRes);
33090 sqlite3_file_control(p->db, zSchema, filectrl, &x);
33099 sqlite3_file_control(p->db, zSchema, filectrl, &x);
33108 sqlite3_file_control(p->db, zSchema, filectrl, &x);
33116 sqlite3_file_control(p->db, zSchema, filectrl, &z);
33128 sqlite3_file_control(p->db, zSchema, filectrl, &x);
33131 sqlite3_file_control(p->db, zSchema, filectrl, &x);