Fix comment regarding diagnostics
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 May 2008 11:35:55 +0000 (13:35 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 May 2008 11:35:55 +0000 (13:35 +0200)
src/seshigh.c

index a70fbc5..d1205ad 100644 (file)
@@ -2520,11 +2520,9 @@ static Z_Records *pack_records(association *a, char *setname, int start,
 
         *next = freq.last_in_set ? 0 : recno + 1;
 
-        /* backend should be able to signal whether error is system-wide
-           or only pertaining to current record */
         if (freq.errcode)
         {
-            if (!freq.surrogate_flag)
+            if (!freq.surrogate_flag) /* non-surrogate diagnostic i.e. global */
             {
                 char s[20];
                 *pres = Z_PresentStatus_failure;