Changeset 8215 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 11/16/06 17:54:57 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/filloptical.C
r8139 r8215 120 120 numstars=0; 121 121 timestamp =Form("%s %s", (*arr)[0]->GetName(),(*arr)[1]->GetName()); 122 122 123 exposure = (*arr)[2]->GetName(); 123 124 fitsfile = (*arr)[3]->GetName(); … … 143 144 144 145 TSQLRow *row=res->Next(); 145 ra=(*row)[0]?atof((*row)[0]):0; 146 147 if (!row) 148 { 149 cout << "Query failed: " << select << endl; 150 continue; 151 } 152 153 ra =(*row)[0]?atof((*row)[0]):0; 146 154 dec=(*row)[1]?atof((*row)[1]):0; 147 155 delete res;
Note:
See TracChangeset
for help on using the changeset viewer.