--- YodaProfiler/src/GLTables.cpp 2006/09/05 10:48:58 1.3 +++ YodaProfiler/src/GLTables.cpp 2006/09/05 12:59:35 1.4 @@ -537,8 +537,13 @@ myquery << ",VALIDATION"; myquery << " from GL_RUN where ID=" << run << ";"; // + // printf(" myquery is %s \n",myquery.str().c_str()); pResult = dbc->Query(myquery.str().c_str()); - if(!pResult->GetRowCount())return(-50); + // + // printf(" getrowcount %i \n",pResult->GetRowCount()); + // + if( !pResult->GetRowCount() ) return(-50); + // for( r=0; r < 1000; r++){ Row = pResult->Next(); if( Row == NULL ) break; @@ -573,14 +578,10 @@ if (t==27) CAL_DSP_MASK = (UInt_t)atoll(Row->GetField(t)); if (t==28) BOOT_NUMBER = (UInt_t)atoll(Row->GetField(t)); if (t==29) VALIDATION = (UInt_t)atoll(Row->GetField(t)); - - }; }; - delete pResult; - - return 0; - + // delete pResult; + return(0); }; /**