Ignore:
Timestamp:
10/10/06 17:34:30 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/writesequencefile.C

    r8045 r8046  
    102102
    103103    TSQLRow *row = res->Next();
    104     return row ? (*row)[0] : "";
     104    if (!row)
     105    {
     106        cout << "ERROR - No name in " << col << " for key " << n << endl;
     107        return "";
     108    }
     109
     110    return (*row)[0];
    105111}
    106112
Note: See TracChangeset for help on using the changeset viewer.