Changeset 8849 for trunk/ippTools/src/chiptool.c
- Timestamp:
- Sep 19, 2006, 5:20:04 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
chiptool.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src
- Property svn:ignore
-
old new 10 10 *.lo 11 11 p0tool 12 p1 search13 p2 search12 p1tool 13 p2tool 14 14 pxadmin 15 15 pzgetexp 16 16 pzgetimfiles 17 pz search17 pztool 18 18 dettool 19 19 pxinject
-
- Property svn:ignore
-
trunk/ippTools/src/chiptool.c
r8667 r8849 3 3 #endif 4 4 5 #include <stdio.h> 6 #include <string.h> 5 7 #include <stdlib.h> 6 8 … … 81 83 } 82 84 psArray *pendingFrames = p2PendingFrameSearch(config); 83 // XXX compare raw frames to pending frames and remove duplicate 85 // XXX compare raw frames to pending frames and remove duplicate 84 86 // frames from the raw set. This may not be quiet right as it's 85 87 // possible (likely?) that a rawScienceExp is inserted into the … … 97 99 i--; 98 100 break; 99 } 101 } 100 102 } 101 103 } … … 116 118 i--; 117 119 break; 118 } 120 } 119 121 } 120 122 } … … 181 183 // the p2ProcessedeImfile tables 182 184 // remove corresponding entries from the 183 // p2PendingImfile table 185 // p2PendingImfile table 184 186 // check to see if any p2PendingExps have no 185 // associated p2PendingImfiles 187 // associated p2PendingImfiles 186 188 // if so move the p2PendingExp(s) to p2ProcessedExp 187 189 188 190 psString query = psStringCopy( 189 191 "SELECT DISTINCT" … … 198 200 { 199 201 psMetadata *where = psMetadataAlloc(); 200 bool status = false; 202 bool status = false; 201 203 psString exp_id = psMetadataLookupStr(&status, config->args, "-exp_id"); if (!status) { 202 204 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_id"); … … 319 321 } 320 322 321 // point of no return for p2PendingImfile -> p2ProcessedImfile 323 // point of no return for p2PendingImfile -> p2ProcessedImfile 322 324 // point of no return for p2PendingExp -> p2ProcessedExp 323 325 if (!psDBCommit(config->dbh)) { … … 333 335 PS_ASSERT_PTR_NON_NULL(config, false); 334 336 335 // look for completed p2PendingExp 337 // look for completed p2PendingExp 336 338 // migrate them to p2ProccessedExp & p3PendingExp 337 339 338 340 // select * from p2PendingExp 339 // where exp_id is not in p2ProcessedExp 341 // where exp_id is not in p2ProcessedExp 340 342 // where exp_id is not in p2PendingImfile 341 343 // where the number of entries in p2ProccessedImfile matches the .imfiles
Note:
See TracChangeset
for help on using the changeset viewer.
