Changeset 18538 for trunk/FACT++
- Timestamp:
- 08/09/16 20:49:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/rootifysql.cc
r18504 r18538 258 258 259 259 // ---------------------- Fill TTree with DB data -------------------------- 260 size_t skip = 0; 260 261 for (auto row=res.begin(); row<res.end(); row++) 261 262 { … … 273 274 274 275 if (!ignore && col->is_null()) 275 break; 276 { 277 skip++; 278 break; 279 } 276 280 277 281 switch (typ[idx]) … … 311 315 312 316 if (verbose>0) 317 { 318 if (skip>0) 319 cout << skip << " rows skipped due to NULL field." << endl; 320 313 321 cout << ttree->GetEntries() << " rows filled into tree." << endl; 322 } 314 323 315 324 ttree->Write();
Note:
See TracChangeset
for help on using the changeset viewer.