IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28248


Ignore:
Timestamp:
Jun 7, 2010, 2:25:03 PM (16 years ago)
Author:
eugene
Message:

additional error handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/UpdateImageIDs.c

    r27435 r28248  
    5555
    5656  if (isEmpty) {
    57     dvo_image_addrows (&db, NULL, 0);
     57    if (!dvo_image_addrows (&db, NULL, 0)) Shutdown ("failed to create image table");
    5858    SetProtect (TRUE);
    59     dvo_image_update (&db, VERBOSE);
     59    if (!dvo_image_update (&db, VERBOSE)) Shutdown ("failed to update image table");
    6060    SetProtect (FALSE);
    6161  } else {
Note: See TracChangeset for help on using the changeset viewer.