From 8ca219819c9d679442f77f5f8dec21f918c9bd71 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 3 Dec 2005 10:15:57 +0000 Subject: [PATCH] (xuloadrow): Obey NSC_EXTRA. (xuloadrow): Remove redundant `not supported' check. --- src/lib/common/xundump.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/common/xundump.c b/src/lib/common/xundump.c index d0cb523f..84de3701 100644 --- a/src/lib/common/xundump.c +++ b/src/lib/common/xundump.c @@ -243,6 +243,10 @@ xuloadrow(int type, int row, struct value values[]) j = 0; while (ca[i].ca_type != NSC_NOTYPE && values[j].v_type != VAL_NOTUSED) { + if (ca[i].ca_flags & NSC_EXTRA) { + i++; + continue; + } row_ref = (char *)ptr + ca[i].ca_off; k = 0; do { @@ -342,9 +346,6 @@ xuloadrow(int type, int row, struct value values[]) break; case VAL_STRING: switch(ca[i].ca_type) { - case NSC_STRINGY: - return gripe("Field %s is of NSC_STRINGY type " - "which is not supported", ca[i].ca_name); case NSC_STRING: if (ca[i].ca_flags & NSC_CONST) { if (strcmp(((char **)row_ref)[k],