--- chewbacca/YodaProfiler/src/PamelaDBOperations.cpp 2008/11/28 14:07:37 1.13 +++ chewbacca/YodaProfiler/src/PamelaDBOperations.cpp 2008/12/03 19:57:52 1.14 @@ -1585,6 +1585,7 @@ result = conn->Query(oss.str().c_str()); if ( !result ) throw -10; row = result->Next(); + if ( !row ) throw -92; idresof = (UInt_t)atoll(row->GetField(0)); existsts = true; goto eout;