Changeset 7860 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 08/06/06 19:43:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.