Changeset 7860
- Timestamp:
- 08/06/06 19:43:10 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7859 r7860 21 21 22 22 * datacenter/macros/checkstardone.C, 23 datacenter/macros/checkfileavail.C: 23 datacenter/macros/checkfileavail.C, 24 datacenter/macros/filldotraw.C: 24 25 - fixed. res was still not correctly deleted 25 26 -
trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C
r7777 r7860 88 88 89 89 TSQLRow *row = res->Next(); 90 if (!row) 90 91 TString rc = row ? (*row)[0] : ""; 92 93 delete res; 94 95 if (rc.IsNull()) 91 96 { 92 97 cout << "ERROR - No result from query: " << query << endl; … … 94 99 } 95 100 96 Int_t rc = atoi((*row)[0]); 97 98 delete res; 99 100 return rc; 101 return rc.Atoi(); 101 102 } 102 103
Note:
See TracChangeset
for help on using the changeset viewer.