596 |
myquery << ",ID_RAW"; |
myquery << ",ID_RAW"; |
597 |
myquery << ",PATH"; |
myquery << ",PATH"; |
598 |
myquery << ",NAME"; |
myquery << ",NAME"; |
599 |
myquery << " from GL_ROOT where NAME=\"" << l2filename.Data() << "\";"; |
myquery << " from GL_ROOT where NAME=\"" << l2filename.Data() << "\" order by INSERT_TIME desc limit 1;"; |
600 |
pResult = dbc->Query(myquery.str().c_str()); |
pResult = dbc->Query(myquery.str().c_str()); |
601 |
for( r=0; r < 1000; r++){ |
for( r=0; r < 1000; r++){ |
602 |
Row = pResult->Next(); |
Row = pResult->Next(); |
628 |
} else { |
} else { |
629 |
printf("\n\n"); |
printf("\n\n"); |
630 |
}; |
}; |
631 |
if ( (UInt_t)atoll(Row->GetField(0)) != rlist[nr] ){ |
if ( (UInt_t)atoll(Row->GetField(1)) != rlist[nr] ){ |
632 |
nr++; |
nr++; |
633 |
rlist[nr] = (UInt_t)atoll(Row->GetField(0)); |
rlist[nr] = (UInt_t)atoll(Row->GetField(1)); |
634 |
}; |
}; |
635 |
}; |
}; |
636 |
delete pResult; |
delete pResult; |