1467 |
// |
// |
1468 |
// |
// |
1469 |
stringstream oss; |
stringstream oss; |
1470 |
|
TString frn = rname.str().c_str(); |
1471 |
|
frn = frn.ReplaceAll(".root",5,".pam",4); |
1472 |
oss.str(""); |
oss.str(""); |
1473 |
oss << "SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE) FROM GL_RESURS_OFFSET WHERE SPECIAL_FILE='" |
oss << "SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE) FROM GL_RESURS_OFFSET WHERE SPECIAL_FILE='" |
1474 |
<< rname.str().c_str() << "';"; |
<< frn.Data() << "';"; |
1475 |
if ( !this->GetGLTABLES()->IsConnected(dbc) ) return; |
if ( !this->GetGLTABLES()->IsConnected(dbc) ) return; |
1476 |
this->GetGLTABLES()->AddQ(); |
this->GetGLTABLES()->AddQ(); |
1477 |
pResult = dbc->Query(oss.str().c_str()); |
pResult = dbc->Query(oss.str().c_str()); |