Changeset 9764 for trunk/ippTools/src/chiptool.c
- Timestamp:
- Oct 26, 2006, 6:00:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/chiptool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptool.c
r9539 r9764 168 168 // XXX does this need to be constrained so that it won't return any results 169 169 // if a match p2PendingExp hasn't been registered? 170 psString query = psStringCopy("SELECT * FROM p2PendingImfile"); 170 psString query = psStringCopy( 171 "SELECT" 172 " p2PendingImfile.*" 173 " FROM p2PendingImfile" 174 " JOIN p2PendingExp" 175 " USING(exp_tag)" 176 " LEFT JOIN p2Mask" 177 " ON p2PendingExp.label = p2Mask.label" 178 " WHERE" 179 " p2Mask.label IS NULL" 180 ); 171 181 172 182 if (config->where) { 173 psString whereClause = psDBGenerateWhereConditionSQL(config->where, " rawImfile");183 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "p2PendingImfile"); 174 184 psStringAppend(&query, " AND %s", whereClause); 175 185 psFree(whereClause); … … 583 593 { 584 594 PS_ASSERT_PTR_NON_NULL(pendingExp, NULL); 585 595 586 596 return p2ProcessedExpRowAlloc( 587 597 pendingExp->exp_tag, 588 598 pendingExp->p1_version, 589 pendingExp->p2_version 599 pendingExp->p2_version, 600 pendingExp->label 590 601 ); 591 602 }
Note:
See TracChangeset
for help on using the changeset viewer.
