68 |
return NULL; |
return NULL; |
69 |
}; |
}; |
70 |
// |
// |
71 |
|
if (Row) |
72 |
|
delete Row; |
73 |
pResult = dbc->Query(query.Data()); |
pResult = dbc->Query(query.Data()); |
74 |
// |
// |
75 |
Row = pResult->Next(); |
Row = pResult->Next(); |
99 |
if ( f2 < minf2 ) minf2 = f2; |
if ( f2 < minf2 ) minf2 = f2; |
100 |
|
|
101 |
}; |
}; |
102 |
|
if (Row) |
103 |
|
delete Row; |
104 |
Row = pResult->Next(); |
Row = pResult->Next(); |
105 |
}; |
}; |
106 |
pResult->Delete(); |
pResult->Delete(); |
140 |
// |
// |
141 |
pResult = dbc->Query(query.Data()); |
pResult = dbc->Query(query.Data()); |
142 |
// |
// |
143 |
|
if (Row) |
144 |
|
delete Row; |
145 |
Row = pResult->Next(); |
Row = pResult->Next(); |
146 |
// |
// |
147 |
Int_t r = 0; |
Int_t r = 0; |
157 |
h2->Fill(f1,f2); |
h2->Fill(f1,f2); |
158 |
}; |
}; |
159 |
r++; |
r++; |
160 |
|
if (Row) |
161 |
|
delete Row; |
162 |
Row = pResult->Next(); |
Row = pResult->Next(); |
163 |
}; |
}; |
164 |
// |
// |
172 |
if ( dim == 1 ) h1->Draw(); |
if ( dim == 1 ) h1->Draw(); |
173 |
if ( dim == 2 ) h2->Draw(); |
if ( dim == 2 ) h2->Draw(); |
174 |
// |
// |
175 |
|
if (Row) |
176 |
|
delete Row; |
177 |
pResult->Delete(); |
pResult->Delete(); |
178 |
if ( dim == 1 ) return h1; |
if ( dim == 1 ) return h1; |
179 |
if ( dim == 2 ) return h2; |
if ( dim == 2 ) return h2; |
247 |
if ( dbc ){ |
if ( dbc ){ |
248 |
dbc->Close(); |
dbc->Close(); |
249 |
delete dbc; |
delete dbc; |
250 |
|
dbc = 0; |
251 |
}; |
}; |
252 |
dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
253 |
// |
// |
1554 |
// |
// |
1555 |
if( !pResult->GetRowCount() ) return (-54); |
if( !pResult->GetRowCount() ) return (-54); |
1556 |
// |
// |
1557 |
|
if (Row) |
1558 |
|
delete Row; |
1559 |
Row = pResult->Next(); |
Row = pResult->Next(); |
1560 |
// |
// |
1561 |
}; |
}; |