Lines Matching refs:zWhere

65015 SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp(Vdbe *p, int iDb, char *zWhere){
65018 sqlite3VdbeChangeP4(p, addr, zWhere, P4_DYNAMIC);
87493 static char *whereOrName(sqlite3 *db, char *zWhere, char *zConstant){
87495 if( !zWhere ){
87498 zNew = sqlite3MPrintf(db, "%s OR name=%Q", zWhere, zConstant);
87499 sqlite3DbFree(db, zWhere);
87513 char *zWhere = 0;
87515 zWhere = whereOrName(pParse->db, zWhere, p->pFrom->zName);
87517 return zWhere;
87529 char *zWhere = 0;
87541 zWhere = whereOrName(db, zWhere, pTrig->zName);
87545 if( zWhere ){
87546 char *zNew = sqlite3MPrintf(pParse->db, "type='trigger' AND (%s)", zWhere);
87547 sqlite3DbFree(pParse->db, zWhere);
87548 zWhere = zNew;
87550 return zWhere;
87563 char *zWhere;
87588 zWhere = sqlite3MPrintf(pParse->db, "tbl_name=%Q", zName);
87589 if( !zWhere ) return;
87590 sqlite3VdbeAddParseSchemaOp(v, iDb, zWhere);
87596 if( (zWhere=whereTempTriggers(pParse, pTab))!=0 ){
87597 sqlite3VdbeAddParseSchemaOp(v, 1, zWhere);
87636 char *zWhere = 0; /* Where clause to locate temp triggers */
87736 if( (zWhere=whereForeignKeys(pParse, pTab))!=0 ){
87740 "WHERE %s;", zDb, SCHEMA_TABLE(iDb), zTabName, zName, zWhere);
87741 sqlite3DbFree(db, zWhere);
87787 if( (zWhere=whereTempTriggers(pParse, pTab))!=0 ){
87792 "WHERE %s;", zName, zName, zWhere);
87793 sqlite3DbFree(db, zWhere);
88237 const char *zWhere, /* Delete entries for this table or index */
88293 if( zWhere ){
88296 pDb->zName, zTab, zWhereType, zWhere
114940 char *zWhere;
114975 zWhere = sqlite3MPrintf(db, "name='%q' AND type='table'", pTab->zName);
114976 sqlite3VdbeAddParseSchemaOp(v, iDb, zWhere);