Lines Matching refs:zWhere

65033 SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp(Vdbe *p, int iDb, char *zWhere){
65036 sqlite3VdbeChangeP4(p, addr, zWhere, P4_DYNAMIC);
87511 static char *whereOrName(sqlite3 *db, char *zWhere, char *zConstant){
87513 if( !zWhere ){
87516 zNew = sqlite3MPrintf(db, "%s OR name=%Q", zWhere, zConstant);
87517 sqlite3DbFree(db, zWhere);
87531 char *zWhere = 0;
87533 zWhere = whereOrName(pParse->db, zWhere, p->pFrom->zName);
87535 return zWhere;
87547 char *zWhere = 0;
87559 zWhere = whereOrName(db, zWhere, pTrig->zName);
87563 if( zWhere ){
87564 char *zNew = sqlite3MPrintf(pParse->db, "type='trigger' AND (%s)", zWhere);
87565 sqlite3DbFree(pParse->db, zWhere);
87566 zWhere = zNew;
87568 return zWhere;
87581 char *zWhere;
87606 zWhere = sqlite3MPrintf(pParse->db, "tbl_name=%Q", zName);
87607 if( !zWhere ) return;
87608 sqlite3VdbeAddParseSchemaOp(v, iDb, zWhere);
87614 if( (zWhere=whereTempTriggers(pParse, pTab))!=0 ){
87615 sqlite3VdbeAddParseSchemaOp(v, 1, zWhere);
87654 char *zWhere = 0; /* Where clause to locate temp triggers */
87754 if( (zWhere=whereForeignKeys(pParse, pTab))!=0 ){
87758 "WHERE %s;", zDb, SCHEMA_TABLE(iDb), zTabName, zName, zWhere);
87759 sqlite3DbFree(db, zWhere);
87805 if( (zWhere=whereTempTriggers(pParse, pTab))!=0 ){
87810 "WHERE %s;", zName, zName, zWhere);
87811 sqlite3DbFree(db, zWhere);
88255 const char *zWhere, /* Delete entries for this table or index */
88311 if( zWhere ){
88314 pDb->zName, zTab, zWhereType, zWhere
114958 char *zWhere;
114993 zWhere = sqlite3MPrintf(db, "name='%q' AND type='table'", pTab->zName);
114994 sqlite3VdbeAddParseSchemaOp(v, iDb, zWhere);