Parent Directory | Revision Log | Patch
revision 1.27 by mocchiut, Wed Apr 18 13:55:00 2007 UTC | revision 1.29 by mocchiut, Mon Apr 30 09:19:39 2007 UTC | |
---|---|---|
# | Line 1171 Int_t GL_TRK_CALIB::Query_GL_TRK_CALIB(U | Line 1171 Int_t GL_TRK_CALIB::Query_GL_TRK_CALIB(U |
1171 | myquery.str(""); | myquery.str(""); |
1172 | myquery << "select ID,ID_ROOT_L0,EV_ROOT_CALIBTRK1,EV_ROOT_CALIBTRK2,FROM_TIME,TO_TIME,OBT1,OBT2,PKT1,PKT2,BOOT_NUMBER,VALIDATION from GL_TRK_CALIB where FROM_TIME <= "<< time; | myquery << "select ID,ID_ROOT_L0,EV_ROOT_CALIBTRK1,EV_ROOT_CALIBTRK2,FROM_TIME,TO_TIME,OBT1,OBT2,PKT1,PKT2,BOOT_NUMBER,VALIDATION from GL_TRK_CALIB where FROM_TIME <= "<< time; |
1173 | // myquery << " AND VALIDATION=1 ORDER BY FROM_TIME DESC LIMIT 1;"; // RIVEDERE LA VALIDAZIONE!!! | // myquery << " AND VALIDATION=1 ORDER BY FROM_TIME DESC LIMIT 1;"; // RIVEDERE LA VALIDAZIONE!!! |
1174 | myquery << " and EV_ROOT_CALIBTRK1>=0 and EV_ROOT_CALIBTRK2>=0 "; // EM! SE MANCA UN PACCHETTO DEI DUE IL PROCESSAMENTO CRASHA... DA RIVEDERE LA VALIDAZIONE | |
1175 | myquery << " ORDER BY FROM_TIME DESC LIMIT 1;"; | myquery << " ORDER BY FROM_TIME DESC LIMIT 1;"; |
1176 | // myquery << " ORDER BY FROM_TIME DESC LIMIT 1;"; | // myquery << " ORDER BY FROM_TIME DESC LIMIT 1;"; |
1177 | if ( !this->GetGLTABLES()->IsConnected(dbc) ) return -57; | if ( !this->GetGLTABLES()->IsConnected(dbc) ) return -57; |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |