]> git.pond.sub.org Git - empserver/commit
Fix how empdump rejects attempt to split table sect
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 8 May 2011 10:40:56 +0000 (12:40 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 25 Jun 2011 14:50:05 +0000 (16:50 +0200)
commitbd453cd8213201910028de2a58f2c19a98d420d8
tree06023e40821aa4dc9edef100c5a63036c1b18c30
parentb40741dc5f525d0533e0681e7d59952675114818
Fix how empdump rejects attempt to split table sect

Split tables require the record index in the leftmost column.
defellipsis() correctly rejects "..." when the table doesn't have one.
It fails to reject it when it has one that is NSC_EXTRA, and thus not
permitted in a dump.  This is the case for table sect.  defellipsis()
happily succeeds, then chkflds() demands column "uid" if it's missing,
and rejects it if its present.
src/lib/common/xundump.c