Changeset 7238
- Timestamp:
- 07/30/05 20:21:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
r7237 r7238 219 219 220 220 if (sequences.At(0)==0) 221 return DeleteSequence(serv, datapath, sequpath, sequences.At(0), dummy); 222 // return kTRUE; 221 return kTRUE; 223 222 224 223 … … 279 278 delete res; 280 279 } 280 281 query="SELECT fSequenceFirst FROM Sequences "; 282 query += Form(" WHERE fSequenceFirst fRunNumber BETWEEN %d AND %d " 283 " ORDER BY fSequenceFirst", from, to); 284 285 res = serv.Query(query); 286 if (!res) 287 return kFALSE; 288 289 Int_t sequ=0; 290 while ((row=res->Next())) 291 { 292 sequ=atoi((*row)[0]); 293 cout << "deleting sequence " << sequ << endl; 294 if(!DeleteSequence(serv, datapath, sequpath, sequ, dummy)) 295 rc=kFALSE; 296 } 297 298 delete res; 299 281 300 282 301 cout << "same sequence -> nothing to do..." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.